projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c776758
)
arm: mach-omap1: board-h2: make h2_nand_platdata static
author
Aaro Koskinen
<aaro.koskinen@iki.fi>
Fri, 28 Jan 2011 00:39:43 +0000
(16:39 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Fri, 28 Jan 2011 00:39:48 +0000
(16:39 -0800)
Eliminates the following sparse warning:
arch/arm/mach-omap1/board-h2.c:205:27: warning: symbol 'h2_nand_platdata' was not declared. Should it be static?
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-h2.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap1/board-h2.c
b/arch/arm/mach-omap1/board-h2.c
index 28b84aa9bdba9d0c6090392036a7838c0983a11d..ba3bd09c4754562add074e2dec4864ce4acd8e14 100644
(file)
--- a/
arch/arm/mach-omap1/board-h2.c
+++ b/
arch/arm/mach-omap1/board-h2.c
@@
-202,7
+202,7
@@
static int h2_nand_dev_ready(struct mtd_info *mtd)
static const char *h2_part_probes[] = { "cmdlinepart", NULL };
-struct platform_nand_data h2_nand_platdata = {
+st
atic st
ruct platform_nand_data h2_nand_platdata = {
.chip = {
.nr_chips = 1,
.chip_offset = 0,