summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPhil Reid <preid@electromag.com.au>2017-10-06 13:08:05 +0800
committerLinus Walleij <linus.walleij@linaro.org>2017-10-11 09:58:03 +0200
commitd219b924611a5cceb17cc6b9a8dd103ab9668c94 (patch)
treef7f08fdad341ab836041b22941c928ea688d572d /drivers
parent6affd6981ca5d2b1d3d9d5191b18bd4a692587fe (diff)
downloadlinux-d219b924611a5cceb17cc6b9a8dd103ab9668c94.tar.bz2
pinctrl: change Kconfig PINCTRL variable to a menuconfig
This allows PINCTRL to be selected manually to allow enabling of the mcp23s08 i2c/spi gpio driver. Which is not platform specific. Signed-off-by: Phil Reid <preid@electromag.com.au> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pinctrl/Kconfig9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 1778cf4f81c7..8da29e9e1bb2 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -2,11 +2,10 @@
# PINCTRL infrastructure and drivers
#
-config PINCTRL
- bool
+menuconfig PINCTRL
+ bool "Pin controllers"
-menu "Pin controllers"
- depends on PINCTRL
+if PINCTRL
config GENERIC_PINCTRL_GROUPS
bool
@@ -379,4 +378,4 @@ config PINCTRL_TB10X
depends on OF && ARC_PLAT_TB10X
select GPIOLIB
-endmenu
+endif