[PATCH v8 10/12] pinctrl: single: support generic pinconf
Haojian Zhuang
haojian.zhuang at linaro.org
Mon Feb 4 20:07:28 EST 2013
On 5 February 2013 08:46, Tony Lindgren <tony at atomide.com> wrote:
> * 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
Thanks for your catch. I'll fix it right now.
Regards
Haojian
More information about the linux-arm-kernel
mailing list