summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-06-13 17:18:35 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-06-15 08:37:41 +0200
commit79f28b9fcd462fccc8b24990fdc82a1256fcd6fb (patch)
treec23301ec8b6d62708ac687751741e28bc26e4811 /drivers/pinctrl
parent56411f3c053efc29f761a4523f2d42c79b03a575 (diff)
downloadtalos-obmc-linux-79f28b9fcd462fccc8b24990fdc82a1256fcd6fb.tar.gz
talos-obmc-linux-79f28b9fcd462fccc8b24990fdc82a1256fcd6fb.zip
pinctrl: max77620: select PINMUX
The recently added max77620 driver fails to build when CONFIG_PINMUX is not set: pinctrl/pinctrl-max77620.c:272:21: error: variable 'max77620_pinmux_ops' has initializer but incomplete type static const struct pinmux_ops max77620_pinmux_ops = { ^~~~~~~~~~ pinctrl/pinctrl-max77620.c:273:2: error: unknown field 'get_functions_count' specified in initializer This adds the Kconfig 'select' statement that was clearly meant to be there and is used in all other pinmux drivers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index ea25eeeceef1..78c9ed277a77 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -210,6 +210,7 @@ config PINCTRL_COH901
config PINCTRL_MAX77620
tristate "MAX77620/MAX20024 Pincontrol support"
depends on MFD_MAX77620
+ select PINMUX
select GENERIC_PINCONF
help
Say Yes here to enable Pin control support for Maxim PMIC MAX77620.
OpenPOWER on IntegriCloud