pinctrl: hide CONFIG_PINMUX and CONFIG_PINCONF
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 3 Jun 2014 08:02:36 +0000 (10:02 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jul 2014 12:08:16 +0000 (14:08 +0200)
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>
drivers/pinctrl/Kconfig

index 0042ccb46b9a1277fa2824845e2affb9844505a4..4af9e351938897e920bede09302eb8674565c9f2 100644 (file)
@@ -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