Input: ts4800 - add hardware dependency
authorJean Delvare <jdelvare@suse.de>
Fri, 4 Mar 2016 19:41:43 +0000 (11:41 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 4 Mar 2016 20:04:07 +0000 (12:04 -0800)
The Technologic Systems TS-4800 is an i.MX515 board, so its drivers
are useless unless building a SOC_IMX51 kernel, except for build
testing purposes.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/Kconfig

index 309951d..c7afa57 100644 (file)
@@ -952,6 +952,7 @@ config TOUCHSCREEN_TOUCHIT213
 config TOUCHSCREEN_TS4800
        tristate "TS-4800 touchscreen"
        depends on HAS_IOMEM && OF
+       depends on SOC_IMX51 || COMPILE_TEST
        select MFD_SYSCON
        select INPUT_POLLDEV
        help