Input: sh_keysc - restrict non-COMPILE_TEST compilation
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 4 Dec 2013 16:46:06 +0000 (08:46 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 Dec 2013 20:51:21 +0000 (12:51 -0800)
Hardware supported by the driver is only found on SUPERH or
ARCH_SHMOBILE platforms. Restrict non-COMPILE_TEST compilation to them.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/Kconfig

index bb174c1..a673c9f 100644 (file)
@@ -525,7 +525,7 @@ config KEYBOARD_SUNKBD
 
 config KEYBOARD_SH_KEYSC
        tristate "SuperH KEYSC keypad support"
-       depends on SUPERH || ARM || COMPILE_TEST
+       depends on SUPERH || ARCH_SHMOBILE || COMPILE_TEST
        help
          Say Y here if you want to use a keypad attached to the KEYSC block
          on SuperH processors such as sh7722 and sh7343.