summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dc395x.c
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2006-09-25 16:58:58 -0700
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-09-26 11:35:32 -0700
commitdcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd (patch)
tree5abc8a69a32a4a11da0bbbda60d9b18e0300cbfb /drivers/scsi/dc395x.c
parent45223fd77c2b39d05dd7f1aaabf614abb1770bbe (diff)
downloadlinux-stable-dcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd.tar.gz
linux-stable-dcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd.tar.bz2
linux-stable-dcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd.zip
[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/dc395x.c')
-rw-r--r--drivers/scsi/dc395x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c
index 9d7048176e77..c6118d99385e 100644
--- a/drivers/scsi/dc395x.c
+++ b/drivers/scsi/dc395x.c
@@ -4949,7 +4949,7 @@ static struct pci_driver dc395x_driver = {
**/
static int __init dc395x_module_init(void)
{
- return pci_module_init(&dc395x_driver);
+ return pci_register_driver(&dc395x_driver);
}