drivers/scsi/aic7xxx/*: convert to pci_register_driver
Subsystems (3)
PATCH 1/1 drivers/scsi/aic7xxx/*: convert to pci_register_driver
Hi,
Description:
convert from pci_module_init to pci_register_driver (from:http://kerneljanitors.org/TODO).
Signed-off-by Christophe Lucas <[email protected]>
Signature · 1 line
Christophe
drivers/scsi/aic7xxx/aic79xx_osm_pci.c +1 -1
@@ -209,7 +209,7 @@ ahd_linux_pci_dev_probe(struct pci_dev *int ahd_linux_pci_init (void ) { -return (pci_module_init (&aic79xx_pci_driver)); +return (pci_register_driver (&aic79xx_pci_driver)); }void
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c +1 -1
@@ -252,7 +252,7 @@ intahc_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) ?0 :1 ; }void
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors