1
0
Fork 0

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>
hifive-unleashed-5.1
Icenowy Zheng 2017-03-01 03:08:15 +08:00 committed by Linus Walleij
parent 14c868b00f
commit 9396f44153
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ config PINCTRL_SUNXI
bool
select PINMUX
select GENERIC_PINCONF
select GPIOLIB
config PINCTRL_SUN4I_A10
def_bool MACH_SUN4I