diff options
author | Henrik Kretzschmar <henne@nachtwindheim.de> | 2006-09-25 19:58:58 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-26 14:35:32 -0400 |
commit | dcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd (patch) | |
tree | 5abc8a69a32a4a11da0bbbda60d9b18e0300cbfb /drivers/scsi/dmx3191d.c | |
parent | 45223fd77c2b39d05dd7f1aaabf614abb1770bbe (diff) |
[SCSI] pci_module_init conversion in scsi subsystem
Converts pci_module_init() to pci_register_driver() in the scsi subsys on
23 drivers which only return the value of pci_module_init().
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/dmx3191d.c')
-rw-r--r-- | drivers/scsi/dmx3191d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c index 879a26657676..fa738ec8692a 100644 --- a/drivers/scsi/dmx3191d.c +++ b/drivers/scsi/dmx3191d.c | |||
@@ -155,7 +155,7 @@ static struct pci_driver dmx3191d_pci_driver = { | |||
155 | 155 | ||
156 | static int __init dmx3191d_init(void) | 156 | static int __init dmx3191d_init(void) |
157 | { | 157 | { |
158 | return pci_module_init(&dmx3191d_pci_driver); | 158 | return pci_register_driver(&dmx3191d_pci_driver); |
159 | } | 159 | } |
160 | 160 | ||
161 | static void __exit dmx3191d_exit(void) | 161 | static void __exit dmx3191d_exit(void) |