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

committed by
James Bottomley

parent
45223fd77c
commit
dcbccbde00
@@ -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)
|
||||
|
Reference in New Issue
Block a user