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 aaafd56..7117125 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