[PATCH] [PATCH] Rename pdc_init

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

 



parisc uses pdc_init() for different purposes, so call it pdc202xx_init
instead.

Signed-off-by: Matthew Wilcox <[email protected]>
---
 drivers/ata/pata_pdc202xx_old.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c
index 5ba9eb2..8850ed5 100644
--- a/drivers/ata/pata_pdc202xx_old.c
+++ b/drivers/ata/pata_pdc202xx_old.c
@@ -402,12 +402,12 @@ static struct pci_driver pdc_pci_driver 
 	.remove		= ata_pci_remove_one
 };
 
-static int __init pdc_init(void)
+static int __init pdc202xx_init(void)
 {
 	return pci_register_driver(&pdc_pci_driver);
 }
 
-static void __exit pdc_exit(void)
+static void __exit pdc202xx_exit(void)
 {
 	pci_unregister_driver(&pdc_pci_driver);
 }
@@ -418,5 +418,5 @@ MODULE_LICENSE("GPL");
 MODULE_DEVICE_TABLE(pci, pdc);
 MODULE_VERSION(DRV_VERSION);
 
-module_init(pdc_init);
-module_exit(pdc_exit);
+module_init(pdc202xx_init);
+module_exit(pdc202xx_exit);
-- 
1.4.1.1

-
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