aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-10-24 01:12:22 -0400
committerStephen Rothwell <sfr@canb.auug.org.au>2005-10-24 02:59:13 -0400
commit915124d8114ec8c3825b10a39151bf9e851593bb (patch)
tree854dd90a4ec252c6282abb2570424c7d17656114 /drivers/cdrom
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')
-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 255d24ad704b..36f31d202223 100644
--- a/drivers/cdrom/viocd.c
+++ b/drivers/cdrom/viocd.c
@@ -736,14 +736,15 @@ static struct vio_device_id viocd_device_table[] __devinitdata = {
736 { "viocd", "" }, 736 { "viocd", "" },
737 { "", "" } 737 { "", "" }
738}; 738};
739
740MODULE_DEVICE_TABLE(vio, viocd_device_table); 739MODULE_DEVICE_TABLE(vio, viocd_device_table);
740
741static struct vio_driver viocd_driver = { 741static struct vio_driver viocd_driver = {
742 .id_table = viocd_device_table, 742 .id_table = viocd_device_table,
743 .probe = viocd_probe, 743 .probe = viocd_probe,
744 .remove = viocd_remove, 744 .remove = viocd_remove,
745 .driver = { 745 .driver = {
746 .name = "viocd", 746 .name = "viocd",
747 .owner = THIS_MODULE,
747 } 748 }
748}; 749};
749 750