浏览代码

pinctrl: hide CONFIG_PINMUX and CONFIG_PINCONF

These symbols are supposed to be selected by the drivers actually needing
them. The only situation where it would make sense to enable them without a
driver selecting them is when an out-of-tree pinctrl driver is used or
for compile testing.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Uwe Kleine-König 11 年之前
父节点
当前提交
244e95a7ad
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/pinctrl/Kconfig

+ 2 - 2
drivers/pinctrl/Kconfig

@@ -11,10 +11,10 @@ menu "Pin controllers"
 	depends on PINCTRL
 
 config PINMUX
-	bool "Support pin multiplexing controllers"
+	bool "Support pin multiplexing controllers" if COMPILE_TEST
 
 config PINCONF
-	bool "Support pin configuration controllers"
+	bool "Support pin configuration controllers" if COMPILE_TEST
 
 config GENERIC_PINCONF
 	bool