projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8bbb55
)
mtd: nand: append missing parameter and value
author
Haojian Zhuang
<haojian.zhuang@gmail.com>
Mon, 20 Aug 2012 05:40:31 +0000
(13:40 +0800)
committer
Haojian Zhuang
<haojian.zhuang@gmail.com>
Mon, 20 Aug 2012 05:51:55 +0000
(13:51 +0800)
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/pxa3xx_nand.c
b/drivers/mtd/nand/pxa3xx_nand.c
index
b0319d8
..
d944d6e
100644
(file)
--- 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;
}