X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Ffiles%2Fdrivers%2Fmtd%2Fnand%2Far934x_nfc.c;h=e932491b922803fbdbb97e65992fb43c6ca41345;hb=4341b11f3eacb77d5e04ce70a9d30a05918b7c3b;hp=7939f9218ca58103e6db70d477e1b79be2e26428;hpb=7d0d29ab6e99be9a1ed98ff5c816821d6f41e417;p=openwrt%2Fstaging%2Fjow.git 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 7939f9218c..e932491b92 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,