diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-08-20 13:40:31 +0800 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-08-20 13:51:55 +0800 |
commit | 6e308f87c821e5b9316d9eb69e96d8a33910412a (patch) | |
tree | 6fdcf4d6daafce673473ab51aaa0b4793e2ef202 /drivers/mtd | |
parent | d8bbb55266f48e4c227ade192244a692710b9aae (diff) | |
download | linux-6e308f87c821e5b9316d9eb69e96d8a33910412a.tar.gz linux-6e308f87c821e5b9316d9eb69e96d8a33910412a.tar.bz2 linux-6e308f87c821e5b9316d9eb69e96d8a33910412a.zip |
mtd: nand: append missing parameter and value
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/pxa3xx_nand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index b0319d8934ad..d944d6ef7da8 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c @@ -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; } |