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

From: [email-masked] (Tony Lindgren)
Date: Mon, 4 Feb 2013 16:46:38 -0800

* Haojian Zhuang <[email-masked]> [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