瀏覽代碼

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>
Icenowy Zheng 8 年之前
父節點
當前提交
9396f44153
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/pinctrl/sunxi/Kconfig

+ 1 - 0
drivers/pinctrl/sunxi/Kconfig

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