summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-01-13 08:00:29 +0100
committerLinus Walleij <linus.walleij@linaro.org>2015-01-20 11:03:22 +0100
commit1dfb4a0d7615811ec4a61b0a7631c8ddc0baf335 (patch)
treee5c551306d8e6eb4bc62ea1f0c9f76e0c6fce73a /drivers/gpio/Kconfig
parentMerge tag 'v3.19-rc5' into devel (diff)
downloadlinux-1dfb4a0d7615811ec4a61b0a7631c8ddc0baf335.tar.xz
linux-1dfb4a0d7615811ec4a61b0a7631c8ddc0baf335.zip
gpio: stmpe: enforce device tree only mode
Require that device tree be used with STMPE (all platforms use this) and enforce OF_GPIO, then delete the platform data. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 4187fcbc88fd..22b46567b3bb 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -644,6 +644,7 @@ config GPIO_SX150X
config GPIO_STMPE
bool "STMPE GPIOs"
depends on MFD_STMPE
+ depends on OF_GPIO
select GPIOLIB_IRQCHIP
help
This enables support for the GPIOs found on the STMPE I/O