]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: OMAP4: Fix compiler warning
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 17 Jan 2017 03:22:58 +0000 (08:52 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jan 2017 20:38:03 +0000 (15:38 -0500)
commit584a69cb5ef2ad52536ea3f0803e698f2aab999e
tree7c9f9f0f5746d8b5555519aeb833909a72b43940
parent80d2ae5e1f14c6caf96c9eb6cb68e8f68b2e5788
ARM: OMAP4: Fix compiler warning

Latest gcc 6.2 compiler is throwing the below warning for omap4_panda_defconfig
arch/arm/mach-omap2/omap4/hw_data.c:136:3: warning: 'abe_dpll_params_sysclk_196608khz' defined but not used [-Wunused-const-variable=]
   abe_dpll_params_sysclk_196608khz[NUM_SYS_CLKS] = {

Fix this by guarding it with CONFIG_SYS_OMAP_ABE_SYSCK

Reported-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-omap2/omap4/hw_data.c