Arnd Bergmann 30bda0ebef 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>
2012-10-04 10:20:05 +02:00
..
2012-01-25 20:37:49 -06:00
2011-07-12 19:45:19 +08:00
2011-07-12 19:45:19 +08:00
2012-05-14 09:30:04 +08:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-05 12:57:17 +00:00
2012-03-28 18:30:01 +01:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-07-30 09:48:00 -07:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2011-11-15 19:08:27 +08:00
2012-04-05 11:29:55 -07:00
2012-03-28 18:30:01 +01:00
2012-01-25 20:37:49 -06:00
2012-05-14 09:30:04 +08:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-03-28 18:30:01 +01:00
2012-03-25 14:36:31 -05:00
2012-04-27 10:46:45 +08:00
2012-03-25 14:36:31 -05:00
2012-03-25 14:36:31 -05:00
2010-12-18 21:02:14 +08:00
2012-01-25 20:37:49 -06:00
2012-03-29 18:02:10 -07:00
2012-05-14 09:30:04 +08:00
2012-01-25 20:37:49 -06:00
2012-05-14 09:30:04 +08:00
2012-01-25 20:37:49 -06:00
2012-05-14 09:30:04 +08:00
2012-03-28 18:30:01 +01:00