mtd: nand: append missing parameter and value
[deliverable/linux.git] / drivers / mtd / nand / pxa3xx_nand.c
index b0319d8934adb71f2a88921c2dff30b5baea7f73..d944d6ef7da899cef2848788a18193f0ef03a319 100644 (file)
@@ -1034,7 +1034,7 @@ static int alloc_nand_resource(struct platform_device *pdev)
        struct pxa3xx_nand_platform_data *pdata;
        struct pxa3xx_nand_info *info;
        struct pxa3xx_nand_host *host;
-       struct nand_chip *chip;
+       struct nand_chip *chip = NULL;
        struct mtd_info *mtd;
        struct resource *r;
        int ret, irq, cs;
@@ -1244,7 +1244,7 @@ static int pxa3xx_nand_probe_dt(struct platform_device *pdev)
        return 0;
 }
 #else
-static inline int pxa3xx_nand_probe_dt(struct platform_device *)
+static inline int pxa3xx_nand_probe_dt(struct platform_device *pdev)
 {
        return 0;
 }
This page took 0.025149 seconds and 5 git commands to generate.