summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorJulien Grossholtz <julien.grossholtz@savoirfairelinux.com>2016-02-27 00:06:59 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-03-08 09:28:08 +0100
commit6dcfd7291bae5ed030bb2b3f69c734f62606ef9b (patch)
treee2fb57222fc7e402699259cb1077ac8cb42665c1 /drivers/gpio/Kconfig
parentMerge branch 'devm-gpiochip-add-data' into devel (diff)
downloadlinux-6dcfd7291bae5ed030bb2b3f69c734f62606ef9b.tar.xz
linux-6dcfd7291bae5ed030bb2b3f69c734f62606ef9b.zip
gpio: ts4800: Add IMX51 dependency
The TS-4800 is an i.MX515 board. Its GPIO driver should only be compiled for this CPU or for test builds. Signed-off-by: Julien Grossholtz <julien.grossholtz@savoirfairelinux.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to '')
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 96ad29de3a3e..366656111d22 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -395,6 +395,7 @@ config GPIO_TB10X
config GPIO_TS4800
tristate "TS-4800 DIO blocks and compatibles"
depends on OF_GPIO
+ depends on SOC_IMX51 || COMPILE_TEST
select GPIO_GENERIC
help
This driver support TS-4800 FPGA GPIO controllers.