Skip to content

Commit

Permalink
mtd: nand: append missing parameter and value
Browse files Browse the repository at this point in the history
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
  • Loading branch information
Haojian Zhuang committed Aug 20, 2012
1 parent d8bbb55 commit 6e308f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/nand/pxa3xx_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 6e308f8

Please sign in to comment.