diff options
author | Henrik Kretzschmar <henne@nachtwindheim.de> | 2006-09-26 01:58:58 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-26 20:35:32 +0200 |
commit | dcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd (patch) | |
tree | 5abc8a69a32a4a11da0bbbda60d9b18e0300cbfb /drivers/scsi/aic7xxx/aic7xxx_osm_pci.c | |
parent | [SCSI] Signdness issue in drivers/scsi/osst.c (diff) | |
download | linux-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/aic7xxx/aic7xxx_osm_pci.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm_pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c index 7e42f07a27f3..d20ca514e9f3 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c @@ -246,8 +246,7 @@ ahc_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent) int ahc_linux_pci_init(void) { - /* Translate error or zero return into zero or one */ - return pci_module_init(&aic7xxx_pci_driver) ? 0 : 1; + return pci_register_driver(&aic7xxx_pci_driver); } void |