diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-01-05 18:08:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-01-05 18:08:33 +0000 |
commit | 8eb0b7ab3dd22d800afd65fc63efa52bfb6f99fa (patch) | |
tree | c41ffa94f2798296390133e27c9ad9939376b8e0 /target/linux/ar71xx | |
parent | 232eb83f743ed051d6bbc36742b938683fd49287 (diff) | |
download | upstream-8eb0b7ab3dd22d800afd65fc63efa52bfb6f99fa.tar.gz upstream-8eb0b7ab3dd22d800afd65fc63efa52bfb6f99fa.tar.bz2 upstream-8eb0b7ab3dd22d800afd65fc63efa52bfb6f99fa.zip |
ar71xx: fix sections mismatch warnings in the nand drivers
SVN-Revision: 29667
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c | 2 | ||||
-rw-r--r-- | target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c | 2 |
2 files changed, 2 insertions, 2 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 664f7dfcc0..f73137d105 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c @@ -134,7 +134,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 __init rb4xx_nand_probe(struct platform_device *pdev) +static int __devinit rb4xx_nand_probe(struct platform_device *pdev) { struct rb4xx_nand_info *info; int ret; diff --git a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c index b6adb41d99..79e8a060ce 100644 --- a/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c +++ b/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c @@ -260,7 +260,7 @@ static void __init rb750_nand_gpio_init(void) rb750_latch_change(~out & RB750_NAND_IO0, out & RB750_NAND_IO0); } -static int __init rb750_nand_probe(struct platform_device *pdev) +static int __devinit rb750_nand_probe(struct platform_device *pdev) { struct rb750_nand_info *info; int ret; |