2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 22:53:55 +08:00
linux-next/include/linux/pinctrl
Dong Aisheng 89e004e78f pinctrl: fix compile error if not select PINMUX support
The pinctrl_register_mappings is defined in core.c, so change the dependent
macro from CONFIG_MUX to CONFIG_PINCTRL.

The compile error message is:
drivers/pinctrl/core.c:886: error: redefinition of 'pinctrl_register_mappings'
include/linux/pinctrl/machine.h:160: note: previous definition of 'pinctrl_register_mappings' was here
make[2]: *** [drivers/pinctrl/core.o] Error 1
make[1]: *** [drivers/pinctrl] Error 2
make: *** [drivers] Error 2

Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-04-11 09:30:49 +02:00
..
consumer.h pinctrl: split pincontrol states into its own header 2012-03-06 23:08:19 +01:00
machine.h pinctrl: fix compile error if not select PINMUX support 2012-04-11 09:30:49 +02:00
pinconf-generic.h pinctrl: introduce generic pin config 2012-03-12 22:49:02 +01:00
pinconf.h pinctrl: introduce generic pin config 2012-03-12 22:49:02 +01:00
pinctrl-state.h pinctrl: split pincontrol states into its own header 2012-03-06 23:08:19 +01:00
pinctrl.h pinctrl: forward-declare struct device 2012-03-06 23:29:05 +01:00
pinmux.h pinctrl: break out a pinctrl consumer header 2012-02-10 21:32:57 +01:00