projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d893656
)
ARM: OMAP2+: Fix randconfig build warning for dm814_pllss_data
author
Tony Lindgren
<tony@atomide.com>
Mon, 21 Dec 2015 18:06:52 +0000
(10:06 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Wed, 23 Dec 2015 01:01:02 +0000
(17:01 -0800)
Fix warning for arch/arm/mach-omap2/prm_common.c:666:35: warning:
‘dm814_pllss_data’ defined but not used [-Wunused-variable]".
This can happen if CONFIG_SOC_TI81XX is not selected.
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/prm_common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/prm_common.c
b/arch/arm/mach-omap2/prm_common.c
index
55acc76
..
5b2f513
100644
(file)
--- a/
arch/arm/mach-omap2/prm_common.c
+++ b/
arch/arm/mach-omap2/prm_common.c
@@
-662,7
+662,9
@@
static struct omap_prcm_init_data am3_prm_data __initdata = {
.index = TI_CLKM_PRM,
.init = am33xx_prm_init,
};
+#endif
+#ifdef CONFIG_SOC_TI81XX
static struct omap_prcm_init_data dm814_pllss_data __initdata = {
.index = TI_CLKM_PLLSS,
.init = am33xx_prm_init,