summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla1280.c
diff options
context:
space:
mode:
authorHenrik Kretzschmar <henne@nachtwindheim.de>2006-09-26 01:58:58 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-09-26 20:35:32 +0200
commitdcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd (patch)
tree5abc8a69a32a4a11da0bbbda60d9b18e0300cbfb /drivers/scsi/qla1280.c
parent[SCSI] Signdness issue in drivers/scsi/osst.c (diff)
downloadlinux-dcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd.tar.xz
linux-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/qla1280.c')
-rw-r--r--drivers/scsi/qla1280.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
index 2747c8e02f83..bdecde1c515f 100644
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -4484,7 +4484,7 @@ qla1280_init(void)
qla1280_setup(qla1280);
#endif
- return pci_module_init(&qla1280_pci_driver);
+ return pci_register_driver(&qla1280_pci_driver);
}
static void __exit