Dear Arnd Bergmann,

> Gcc prints a harmless warning about palmte2_pxa_keys not being used
> when the gpio keyboard driver is disabled. The solution is to use
> the same #ifdef that is already present in the place where the
> symbol is used.
> 
> Without this patch, building palmz72_defconfig results in:
> 
> /home/arnd/linux-arm/arch/arm/mach-pxa/palmte2.c:128:31: warning:
> 'palmte2_pxa_keys' defined but not used [-Wunused-variable]
> 
> Signed-off-by: Arnd Bergmann <a...@arndb.de>
> Cc: Marek Vasut <marek.va...@gmail.com>
> Cc: Carlos Eduardo Medaglia Dyonisio <c...@nerdfeliz.com>
> Cc: Haojian Zhuang <haojian.zhu...@gmail.com>
> Cc: Eric Miao <eric.y.m...@gmail.com>

Acked-by: Marek Vasut <ma...@denx.de>

Thanks Arnd

Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to