summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2016-03-04 22:41:43 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-03-04 23:04:07 +0300
commitcd1480ae4dd0bbfd3d7339d00c3573e4c64ebbd5 (patch)
tree914d851c651977f907cb5be906630ddcaa13db7a
parent52cdce8adb635746f53306ab2599ca64902bb1dc (diff)
downloadlinux-cd1480ae4dd0bbfd3d7339d00c3573e4c64ebbd5.tar.xz
Input: ts4800 - add hardware dependency
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>
-rw-r--r--drivers/input/touchscreen/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 309951da0970..c7afa57f6287 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -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