aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/3w-9xxx.c
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2006-09-25 19:58:58 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-09-26 14:35:32 -0400
commitdcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd (patch)
tree5abc8a69a32a4a11da0bbbda60d9b18e0300cbfb /drivers/scsi/3w-9xxx.c
parent45223fd77c2b39d05dd7f1aaabf614abb1770bbe (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/3w-9xxx.c')
-rw-r--r--drivers/scsi/3w-9xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c
index 5a9475e56d0e..da173159cedb 100644
--- a/drivers/scsi/3w-9xxx.c
+++ b/drivers/scsi/3w-9xxx.c
@@ -2211,7 +2211,7 @@ static int __init twa_init(void)
2211{ 2211{
2212 printk(KERN_WARNING "3ware 9000 Storage Controller device driver for Linux v%s.\n", TW_DRIVER_VERSION); 2212 printk(KERN_WARNING "3ware 9000 Storage Controller device driver for Linux v%s.\n", TW_DRIVER_VERSION);
2213 2213
2214 return pci_module_init(&twa_driver); 2214 return pci_register_driver(&twa_driver);
2215} /* End twa_init() */ 2215} /* End twa_init() */
2216 2216
2217/* This function is called on driver exit */ 2217/* This function is called on driver exit */