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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]>

---

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux