aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-19 20:52:06 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-19 20:52:06 +0000
commit4341b11f3eacb77d5e04ce70a9d30a05918b7c3b (patch)
treef1424e5630d957cac5469dd260a0037ff8957113 /target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
parent7d0d29ab6e99be9a1ed98ff5c816821d6f41e417 (diff)
downloadupstream-4341b11f3eacb77d5e04ce70a9d30a05918b7c3b.tar.gz
upstream-4341b11f3eacb77d5e04ce70a9d30a05918b7c3b.tar.bz2
upstream-4341b11f3eacb77d5e04ce70a9d30a05918b7c3b.zip
ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35687
Diffstat (limited to 'target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c')
-rw-r--r--target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
index a379900fe3..5b9841b76b 100644
--- a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
+++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
@@ -136,7 +136,7 @@ static void rb4xx_nand_read_buf(struct mtd_info *mtd, unsigned char *buf,
pr_err("rb4xx_nand: read buf failed, err=%d\n", err);
}
-static int __devinit rb4xx_nand_probe(struct platform_device *pdev)
+static int rb4xx_nand_probe(struct platform_device *pdev)
{
struct rb4xx_nand_info *info;
int ret;
@@ -261,7 +261,7 @@ err:
return ret;
}
-static int __devexit rb4xx_nand_remove(struct platform_device *pdev)
+static int rb4xx_nand_remove(struct platform_device *pdev)
{
struct rb4xx_nand_info *info = platform_get_drvdata(pdev);
@@ -278,7 +278,7 @@ static int __devexit rb4xx_nand_remove(struct platform_device *pdev)
static struct platform_driver rb4xx_nand_driver = {
.probe = rb4xx_nand_probe,
- .remove = __devexit_p(rb4xx_nand_remove),
+ .remove = rb4xx_nand_remove,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,