OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14c868b
)
pinctrl: sunxi: select GPIOLIB
author
Icenowy Zheng
<icenowy@aosc.xyz>
Tue, 28 Feb 2017 19:08:15 +0000
(
03:08
+0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 14 Mar 2017 13:42:25 +0000
(14:42 +0100)
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>
drivers/pinctrl/sunxi/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/sunxi/Kconfig
b/drivers/pinctrl/sunxi/Kconfig
index
a0c419a
..
793e6f9
100644
(file)
--- 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