pinctrl: berlin: add explicit dependency on OF
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Tue, 13 Oct 2015 21:31:39 +0000 (23:31 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Oct 2015 14:20:04 +0000 (16:20 +0200)
Berlin pinctrl drivers depends on CONFIG_OF. This patch adds
this dependency explicitly.

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

index 7117125..8fe6ad7 100644 (file)
@@ -7,14 +7,17 @@ config PINCTRL_BERLIN
 
 config PINCTRL_BERLIN_BG2
        def_bool MACH_BERLIN_BG2
+       depends on OF
        select PINCTRL_BERLIN
 
 config PINCTRL_BERLIN_BG2CD
        def_bool MACH_BERLIN_BG2CD
+       depends on OF
        select PINCTRL_BERLIN
 
 config PINCTRL_BERLIN_BG2Q
        def_bool MACH_BERLIN_BG2Q
+       depends on OF
        select PINCTRL_BERLIN
 
 config PINCTRL_BERLIN_BG4CT