summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2015-10-13 23:31:39 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-10-16 16:20:04 +0200
commit9c160bbd6c298c8b4f76b245e26f78bd4bba3993 (patch)
tree91a1bb8d3aa65b4bcf707dfed844ee06857145c0 /drivers/pinctrl
parentpinctrl: berlin: select the pinctrl driver according to the SoC used (diff)
downloadlinux-9c160bbd6c298c8b4f76b245e26f78bd4bba3993.tar.xz
linux-9c160bbd6c298c8b4f76b245e26f78bd4bba3993.zip
pinctrl: berlin: add explicit dependency on OF
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/berlin/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pinctrl/berlin/Kconfig b/drivers/pinctrl/berlin/Kconfig
index 711712547695..8fe6ad7795dc 100644
--- a/drivers/pinctrl/berlin/Kconfig
+++ b/drivers/pinctrl/berlin/Kconfig
@@ -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