summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-02-14 11:32:14 +0100
committerLinus Walleij <linus.walleij@linaro.org>2014-02-27 10:18:58 +0100
commitf29b9d13ddb32f84f33197042ca187c531cfda7a (patch)
tree03f65452b016b595e44382eb3e4d772b9e578582
parent51e8afc1c43c75b7bc213439206b154a4c8e875f (diff)
downloadop-kernel-dev-f29b9d13ddb32f84f33197042ca187c531cfda7a.zip
op-kernel-dev-f29b9d13ddb32f84f33197042ca187c531cfda7a.tar.gz
gpio-ts5500: Add dependency
There is no point in displaying the TS5500-specific driver entries if TS5500 board support itself isn't enabled. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Acked-by: Alexandre Courbot <gnurou@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/gpio/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 87bfcaf..3bddd36 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -277,6 +277,7 @@ config GPIO_STA2X11
config GPIO_TS5500
tristate "TS-5500 DIO blocks and compatibles"
+ depends on TS5500 || COMPILE_TEST
help
This driver supports Digital I/O exposed by pin blocks found on some
Technologic Systems platforms. It includes, but is not limited to, 3
OpenPOWER on IntegriCloud