提交 d219b924 编写于 作者: P Phil Reid 提交者: Linus Walleij

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: NPhil Reid <preid@electromag.com.au>
Reviewed-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 6affd698
...@@ -2,11 +2,10 @@ ...@@ -2,11 +2,10 @@
# PINCTRL infrastructure and drivers # PINCTRL infrastructure and drivers
# #
config PINCTRL menuconfig PINCTRL
bool bool "Pin controllers"
menu "Pin controllers" if PINCTRL
depends on PINCTRL
config GENERIC_PINCTRL_GROUPS config GENERIC_PINCTRL_GROUPS
bool bool
...@@ -379,4 +378,4 @@ config PINCTRL_TB10X ...@@ -379,4 +378,4 @@ config PINCTRL_TB10X
depends on OF && ARC_PLAT_TB10X depends on OF && ARC_PLAT_TB10X
select GPIOLIB select GPIOLIB
endmenu endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册