[U-Boot] [U-Boot,1/2] ARM: OMAP4: Fix compiler warning

Tom Rini trini at konsulko.com
Sat Jan 21 04:38:28 CET 2017


On Tue, Jan 17, 2017 at 08:52:58AM +0530, Lokesh Vutla wrote:

> 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 at ti.com>
> Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170120/bd26547c/attachment.sig>


More information about the U-Boot mailing list