From: Jean Delvare Date: Fri, 4 Mar 2016 19:41:43 +0000 (-0800) Subject: Input: ts4800 - add hardware dependency X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cd1480ae4dd0bbfd3d7339d00c3573e4c64ebbd5;p=linux-beck.git 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 Signed-off-by: Dmitry Torokhov --- 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