summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/sunxi/Kconfig
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2017-02-28 20:08:15 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-03-14 14:42:25 +0100
commit9396f4415343df2e51818956d661440b97190a74 (patch)
treed60909c45f64c5afc61a18acf9efca6883528f19 /drivers/pinctrl/sunxi/Kconfig
parentpinctrl: sunxi: Add A64 R_PIO controller support (diff)
downloadlinux-9396f4415343df2e51818956d661440b97190a74.tar.xz
linux-9396f4415343df2e51818956d661440b97190a74.zip
pinctrl: sunxi: select GPIOLIB
Allwinner pin controllers are also GPIO controllers. Currently, if GPIOLIB is forgot to be chosen, the build of pinctrl-sunxi.c will fail for lacking a lot of gpiochip_* functions. Select GPIOLIB to ensure this driver can be built. Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sunxi/Kconfig')
-rw-r--r--drivers/pinctrl/sunxi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/sunxi/Kconfig b/drivers/pinctrl/sunxi/Kconfig
index a0c419ac2a3b..793e6f94fa0b 100644
--- a/drivers/pinctrl/sunxi/Kconfig
+++ b/drivers/pinctrl/sunxi/Kconfig
@@ -4,6 +4,7 @@ config PINCTRL_SUNXI
bool
select PINMUX
select GENERIC_PINCONF
+ select GPIOLIB
config PINCTRL_SUN4I_A10
def_bool MACH_SUN4I