[PATCH] ARM: davinci: board-da830-evm: fix unused const variable warning
Sekhar Nori
nsekhar at ti.com
Sun Feb 25 22:08:05 PST 2018
On Friday 19 January 2018 08:21 PM, Sekhar Nori wrote:
> da830_evm_emif25_pins[] is used only when CONFIG_DA830_UI_NAND
> is enabled. It gives the following warning when the config is
> switched off. Fix it.
>
> arch/arm/mach-davinci/board-da830-evm.c:245:20: warning: ‘da830_evm_emif25_pins’ defined but not used [-Wunused-const-variable=]
> static const short da830_evm_emif25_pins[] = {
> ^~~~~~~~~~~~~~~~~~~~~
>
> Signed-off-by: Sekhar Nori <nsekhar at ti.com>
Added to v4.17/soc of my tree.
Thanks,
Sekhar
More information about the linux-arm-kernel
mailing list