pinctrl: berlin: select the pinctrl driver according to the SoC used
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Tue, 13 Oct 2015 21:31:37 +0000 (23:31 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Oct 2015 14:18:27 +0000 (16:18 +0200)
This patch prepares to remove the pinctrl driver selection from the
mach-berlin Kconfig. To do so, bool is replaced by def_bool.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/berlin/Kconfig

index aaafd56215b04c627eb184770e60ce9b59e9488b..71171254769576943545c89d7b09eaaa0bb87d76 100644 (file)
@@ -6,15 +6,15 @@ config PINCTRL_BERLIN
        select REGMAP_MMIO
 
 config PINCTRL_BERLIN_BG2
-       bool
+       def_bool MACH_BERLIN_BG2
        select PINCTRL_BERLIN
 
 config PINCTRL_BERLIN_BG2CD
-       bool
+       def_bool MACH_BERLIN_BG2CD
        select PINCTRL_BERLIN
 
 config PINCTRL_BERLIN_BG2Q
-       bool
+       def_bool MACH_BERLIN_BG2Q
        select PINCTRL_BERLIN
 
 config PINCTRL_BERLIN_BG4CT