[include] cmake.mk: fix passing of LDFLAGS
[openwrt.git] / target / linux / ar71xx / files / drivers / mtd / nand / rb4xx_nand.c
index d6c6843..f73137d 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;
@@ -223,7 +223,7 @@ static int __init rb4xx_nand_probe(struct platform_device *pdev)
 
        platform_set_drvdata(pdev, info);
 
-       ret = nand_scan_ident(&info->mtd, 1);
+       ret = nand_scan_ident(&info->mtd, 1, NULL);
        if (ret) {
                ret = -ENXIO;
                goto err_free_info;
This page took 0.029683 seconds and 4 git commands to generate.