diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-05-22 22:44:33 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-05-26 23:16:08 +0200 |
commit | e4b88e19897f1039fd83f1630517becafc0dd163 (patch) | |
tree | f771c83a35f611df667f9f8c01fe8a51d8aa0ae3 /drivers/input/touchscreen/Kconfig | |
parent | Input: stmpe-ts - fix automatic module loading (diff) | |
download | linux-e4b88e19897f1039fd83f1630517becafc0dd163.tar.xz linux-e4b88e19897f1039fd83f1630517becafc0dd163.zip |
Input: stmpe-ts - enforce device tree only mode
The STMPE MFD is only used with device tree configured systems (and STMPE
MFD core depends on OF), so force the configuration to come from device
tree only.
Tested-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/Kconfig')
-rw-r--r-- | drivers/input/touchscreen/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 547f67d65372..a398d636ca39 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -958,6 +958,7 @@ config TOUCHSCREEN_ST1232 config TOUCHSCREEN_STMPE tristate "STMicroelectronics STMPE touchscreens" depends on MFD_STMPE + depends on (OF || COMPILE_TEST) help Say Y here if you want support for STMicroelectronics STMPE touchscreen controllers. |