diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-24 15:12:22 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-24 16:59:13 +1000 |
commit | 915124d8114ec8c3825b10a39151bf9e851593bb (patch) | |
tree | 854dd90a4ec252c6282abb2570424c7d17656114 /drivers/cdrom | |
parent | 7c7eb28481a038c3859a0efcf38ac5b642aca212 (diff) | |
download | op-kernel-dev-915124d8114ec8c3825b10a39151bf9e851593bb.zip op-kernel-dev-915124d8114ec8c3825b10a39151bf9e851593bb.tar.gz |
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')
-rw-r--r-- | drivers/cdrom/viocd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cdrom/viocd.c b/drivers/cdrom/viocd.c index 255d24a..36f31d2 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, } }; |