diff options
author | Henrik Kretzschmar <henne@nachtwindheim.de> | 2006-09-25 16:58:58 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-26 11:35:32 -0700 |
commit | dcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd (patch) | |
tree | 5abc8a69a32a4a11da0bbbda60d9b18e0300cbfb /drivers/scsi/3w-xxxx.c | |
parent | 45223fd77c2b39d05dd7f1aaabf614abb1770bbe (diff) | |
download | op-kernel-dev-dcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd.zip op-kernel-dev-dcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd.tar.gz |
[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-xxxx.c')
-rw-r--r-- | drivers/scsi/3w-xxxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c index f3a5f42..2d4cb67 100644 --- a/drivers/scsi/3w-xxxx.c +++ b/drivers/scsi/3w-xxxx.c @@ -2486,7 +2486,7 @@ static int __init tw_init(void) { printk(KERN_WARNING "3ware Storage Controller device driver for Linux v%s.\n", TW_DRIVER_VERSION); - return pci_module_init(&tw_driver); + return pci_register_driver(&tw_driver); } /* End tw_init() */ /* This function is called on driver exit */ |