[PATCH] [MM] 7/10 pci_module_init() conversion

From: Henne
Date: Mon Sep 04 2006 - 09:10:14 EST


From: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx>

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 <henne@xxxxxxxxxxxxxxxx>

---

--- linux-2.6.18-rc5-mm1/drivers/ata/pata_pdc2027x.c 2006-09-13 17:54:16.000000000 +0200
+++ linux/drivers/ata/pata_pdc2027x.c 2006-09-13 21:41:56.488893480 +0200
@@ -854,7 +854,7 @@
*/
static int __init pdc2027x_init(void)
{
- return pci_module_init(&pdc2027x_pci_driver);
+ return pci_register_driver(&pdc2027x_pci_driver);
}

/**


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/