summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorAlexander Stein <alexanders83@web.de>2016-02-24 20:54:32 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-04-14 14:05:40 +0200
commit4dd4dd1d21206cd05f5da031d709e9de8567957f (patch)
treed274ed46a394c21eb6f2f0669b6444f9ed0ccaf0 /drivers/gpio/Kconfig
parent1e4a80640338924b9f9fd7a121ac31d08134410a (diff)
gpio: tegra: Allow compile test
Allow compile testing this driver by adding a new config option which is enabled by default and depends on the old symbol or COMPILE_TEST. Signed-off-by: Alexander Stein <alexanders83@web.de>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 9776ea547a4d..f73f26b43532 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -400,6 +400,11 @@ config GPIO_TB10X
select GENERIC_IRQ_CHIP
select OF_GPIO
+config GPIO_TEGRA
+ bool
+ default y
+ depends on ARCH_TEGRA || COMPILE_TEST
+
config GPIO_TS4800
tristate "TS-4800 DIO blocks and compatibles"
depends on OF_GPIO