[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>
This commit is contained in:
Henrik Kretzschmar
2006-09-25 16:58:58 -07:00
committed by James Bottomley
parent 45223fd77c
commit dcbccbde00
10 changed files with 10 additions and 11 deletions

View File

@@ -155,7 +155,7 @@ static struct pci_driver dmx3191d_pci_driver = {
static int __init dmx3191d_init(void)
{
return pci_module_init(&dmx3191d_pci_driver);
return pci_register_driver(&dmx3191d_pci_driver);
}
static void __exit dmx3191d_exit(void)