summaryrefslogtreecommitdiff
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-12-18 07:10:29 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2014-01-07 17:58:19 (GMT)
commita1a2bdec4772228274dfb3f9a41ac5234b93a5e9 (patch)
treec9f6fb14e8b8e712db7354f539b74d52aa63ccce /drivers/gpio/Kconfig
parentffd4bf1a9e8a88c4b2a47007b1a9e69be28599fe (diff)
downloadlinux-a1a2bdec4772228274dfb3f9a41ac5234b93a5e9.tar.xz
gpio: xtensa: depend on HAVE_XTENSA_GPIO32
Prevent build failure when the selected variant does not support GPIO32. Acked-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> 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 1a07c40..858d489 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -300,6 +300,7 @@ config GPIO_XILINX
config GPIO_XTENSA
bool "Xtensa GPIO32 support"
depends on XTENSA
+ depends on HAVE_XTENSA_GPIO32
depends on !SMP
help
Say yes here to support the Xtensa internal GPIO32 IMPWIRE (input)