Skip to contentSkip to conversation

ARM: OMAP2+: Fix randconfig build warning for dm814_pllss_data

PATCH New Tony Lindgren 1 participant 1 message Dec 21, 2015

Subsystems (4)
lore
Share & tools
lore

Tony Lindgren

author maintainer
#0 lore raw

PATCH 1/1 ARM: OMAP2+: Fix randconfig build warning for dm814_pllss_data

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.

---
 arch/arm/mach-omap2/prm_common.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-omap2/prm_common.c +2 -0
@@ -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,
Signature · 1 line
2.6.2