[PATCH 2/3] Input: ts4800: add hardware dependency
From: Jean Delvare
Date: Tue Feb 09 2016 - 05:19:00 EST
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@xxxxxxx>
Cc: Damien Riegel <damien.riegel@xxxxxxxxxxxxxxxxxxxx>
Cc: Rob Herring <robh@xxxxxxxxxx>
Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
---
drivers/input/touchscreen/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- linux-4.5-rc3.orig/drivers/input/touchscreen/Kconfig 2016-02-02 09:02:08.180924572 +0100
+++ linux-4.5-rc3/drivers/input/touchscreen/Kconfig 2016-02-09 08:58:50.693442294 +0100
@@ -941,6 +941,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
--
Jean Delvare
SUSE L3 Support