7/10 pci_module_init() conversion
PATCH 1/1 7/10 pci_module_init() conversion
From: Henrik Kretzschmar <[email protected]>
pci_module_init() conversion for pata_pdc2027x
For use in mm-tree only, since the new location of the ata drivers. In that case I don't know exactly how to change the version number.
Signed-off-by Henrik Kretzschmar <[email protected]>
---
drivers/ata/pata_pdc2027x.c +0 -0
@@ -854,7 +854,7 @@*/
static int __init pdc2027x_init(void)
{
- return pci_module_init(&pdc2027x_pci_driver);
+ return pci_register_driver(&pdc2027x_pci_driver);
}
/**
Ar Llu, 2006-09-04 am 15:13 +0200, ysgrifennodd Henne:
Quoted 5 lines
From: Henrik Kretzschmar <[email protected]>
pci_module_init()conversion forpata_pdc2027x
For use in mm-tree only, since the new location of the ata drivers. In that case I don't know exactly how to change the version number.
Nor me or if it matters.
Quoted 1 line
Signed-off-by Henrik Kretzschmar <[email protected]>
Acked-by Alan Cox <[email protected]>