[PATCH v8 10/12] pinctrl: single: support generic pinconf

Tony Lindgren tony at atomide.com
Mon Feb 4 19:46:38 EST 2013


* Haojian Zhuang <haojian.zhuang at linaro.org> [130202 09:32]:
> --- a/drivers/pinctrl/pinctrl-single.c
> +++ b/drivers/pinctrl/pinctrl-single.c
> @@ -22,8 +22,10 @@
>  
>  #include <linux/pinctrl/pinctrl.h>
>  #include <linux/pinctrl/pinmux.h>
> +#include <linux/pinctrl/pinconf-generic.h>
>  
>  #include "core.h"
> +#include "pinconf.h"
>  
>  #define DRIVER_NAME			"pinctrl-single"
>  #define PCS_MUX_PINS_NAME		"pinctrl-single,pins"

I'm getting the following with this patch applied:

"pinconf_generic_dump_config" [drivers/pinctrl/pinctrl-single.ko] undefined!

This is with the following options:

CONFIG_PINCTRL=y
CONFIG_PINMUX=y
CONFIG_PINCONF=y
CONFIG_GENERIC_PINCONF=y
CONFIG_DEBUG_PINCTRL=y
CONFIG_PINCTRL_SINGLE=m

The includes look right, probably you're just missing
EXPORT_SYMBOL(pinconf_generic_dump_config) in the patch
adding pinconf_generic_dump_config?

Regards,

Tony



More information about the linux-arm-kernel mailing list