aboutsummaryrefslogtreecommitdiff
path: root/drivers/cdrom/viocd.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-10-24 15:12:22 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2005-10-24 16:59:13 +1000
commit915124d8114ec8c3825b10a39151bf9e851593bb (patch)
tree854dd90a4ec252c6282abb2570424c7d17656114 /drivers/cdrom/viocd.c
parent7c7eb28481a038c3859a0efcf38ac5b642aca212 (diff)
powerpc: set the driver.owner field for all vio drivers
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'drivers/cdrom/viocd.c')
-rw-r--r--drivers/cdrom/viocd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cdrom/viocd.c b/drivers/cdrom/viocd.c
index 255d24ad704..36f31d20222 100644
--- a/drivers/cdrom/viocd.c
+++ b/drivers/cdrom/viocd.c
@@ -736,14 +736,15 @@ static struct vio_device_id viocd_device_table[] __devinitdata = {
{ "viocd", "" },
{ "", "" }
};
-
MODULE_DEVICE_TABLE(vio, viocd_device_table);
+
static struct vio_driver viocd_driver = {
.id_table = viocd_device_table,
.probe = viocd_probe,
.remove = viocd_remove,
.driver = {
.name = "viocd",
+ .owner = THIS_MODULE,
}
};