projects
/
GitHub
/
LineageOS
/
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:
140089d
)
arm: mach-omap1: board-h3: make nand_platdata static
author
Aaro Koskinen
<aaro.koskinen@iki.fi>
Fri, 28 Jan 2011 00:39:44 +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-h3.c:207:27: warning: symbol '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-h3.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap1/board-h3.c
b/arch/arm/mach-omap1/board-h3.c
index dbc8b8d882bad10c6bda9ed9deef91dde6bf920f..ac48677672ee6bcc990ce25487a373e4e4928850 100644
(file)
--- a/
arch/arm/mach-omap1/board-h3.c
+++ b/
arch/arm/mach-omap1/board-h3.c
@@
-204,7
+204,7
@@
static int nand_dev_ready(struct mtd_info *mtd)
static const char *part_probes[] = { "cmdlinepart", NULL };
-struct platform_nand_data nand_platdata = {
+st
atic st
ruct platform_nand_data nand_platdata = {
.chip = {
.nr_chips = 1,
.chip_offset = 0,