From 0d1161d052e17092e838724c4593ea918a37078c Mon Sep 17 00:00:00 2001 From: juhosg Date: Tue, 19 Feb 2013 20:52:06 +0000 Subject: ar71xx: remove __dev{init,exit} annotations from kernel files Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35687 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c') diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c b/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c index 7939f9218..e932491b9 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c @@ -872,7 +872,7 @@ ar934x_nfc_irq_handler(int irq, void *data) return IRQ_HANDLED; } -static int __devinit +static int ar934x_nfc_init_tail(struct mtd_info *mtd) { struct ar934x_nfc *nfc = mtd_to_ar934x_nfc(mtd); @@ -998,7 +998,7 @@ ar934x_nfc_init_tail(struct mtd_info *mtd) return err; } -static int __devinit +static int ar934x_nfc_probe(struct platform_device *pdev) { static const char *part_probes[] = { "cmdlinepart", NULL, }; @@ -1128,7 +1128,7 @@ err_free_nand: return ret; } -static int __devexit +static int ar934x_nfc_remove(struct platform_device *pdev) { struct ar934x_nfc *nfc; @@ -1147,7 +1147,7 @@ ar934x_nfc_remove(struct platform_device *pdev) static struct platform_driver ar934x_nfc_driver = { .probe = ar934x_nfc_probe, - .remove = __devexit_p(ar934x_nfc_remove), + .remove = ar934x_nfc_remove, .driver = { .name = AR934X_NFC_DRIVER_NAME, .owner = THIS_MODULE, -- cgit v1.2.3