summaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-04-30 16:05:28 +0000
committerArnd Bergmann <arnd@arndb.de>2012-10-04 10:20:05 +0200
commit30bda0ebef512af996a079977488ea52a0ff1646 (patch)
tree7a66a9fbabf2122d54b15494db444bf27cc5ab70 /lib/string_helpers.c
parent5f0cc6d16c0572bf5e9e65b6133ac415268c0720 (diff)
downloadop-kernel-dev-30bda0ebef512af996a079977488ea52a0ff1646.zip
op-kernel-dev-30bda0ebef512af996a079977488ea52a0ff1646.tar.gz
ARM: pxa: define palmte2_pxa_keys conditionally
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 <arnd@arndb.de> Acked-by: Marek Vasut <marek.vasut@gmail.com> Cc: Carlos Eduardo Medaglia Dyonisio <cadu@nerdfeliz.com> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> Cc: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud