summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.xyz>2017-02-28 22:08:15 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-03-14 16:42:25 +0300
commit9396f4415343df2e51818956d661440b97190a74 (patch)
treed60909c45f64c5afc61a18acf9efca6883528f19 /drivers/pinctrl
parent14c868b00f0fc9d220675d96e1cae10e17406069 (diff)
downloadlinux-9396f4415343df2e51818956d661440b97190a74.tar.xz
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')
-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