ar71xx: fix sections mismatch warnings in the nand drivers
authorGabor Juhos <juhosg@openwrt.org>
Thu, 5 Jan 2012 18:08:33 +0000 (18:08 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 5 Jan 2012 18:08:33 +0000 (18:08 +0000)
SVN-Revision: 29667

target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c
target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c

index 664f7dfcc0d0c23bf168134dc9494633a6a9a296..f73137d10519e6522b297247ba4f2977e7362021 100644 (file)
@@ -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;
index b6adb41d995a297fa8efbe6fed3af41973851da5..79e8a060ce5be0470edabf680972020801dec158 100644 (file)
@@ -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;