Commit 6e308f87 authored by Haojian Zhuang's avatar Haojian Zhuang

mtd: nand: append missing parameter and value

Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@gmail.com>
parent d8bbb552
...@@ -1034,7 +1034,7 @@ static int alloc_nand_resource(struct platform_device *pdev) ...@@ -1034,7 +1034,7 @@ static int alloc_nand_resource(struct platform_device *pdev)
struct pxa3xx_nand_platform_data *pdata; struct pxa3xx_nand_platform_data *pdata;
struct pxa3xx_nand_info *info; struct pxa3xx_nand_info *info;
struct pxa3xx_nand_host *host; struct pxa3xx_nand_host *host;
struct nand_chip *chip; struct nand_chip *chip = NULL;
struct mtd_info *mtd; struct mtd_info *mtd;
struct resource *r; struct resource *r;
int ret, irq, cs; int ret, irq, cs;
...@@ -1244,7 +1244,7 @@ static int pxa3xx_nand_probe_dt(struct platform_device *pdev) ...@@ -1244,7 +1244,7 @@ static int pxa3xx_nand_probe_dt(struct platform_device *pdev)
return 0; return 0;
} }
#else #else
static inline int pxa3xx_nand_probe_dt(struct platform_device *) static inline int pxa3xx_nand_probe_dt(struct platform_device *pdev)
{ {
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment