[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:

zatwierdzone przez
James Bottomley

rodzic
45223fd77c
commit
dcbccbde00
@@ -198,7 +198,7 @@ ahd_linux_pci_dev_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
int
|
||||
ahd_linux_pci_init(void)
|
||||
{
|
||||
return (pci_module_init(&aic79xx_pci_driver));
|
||||
return pci_register_driver(&aic79xx_pci_driver);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user