[PATCH v8 08/12] pinctrl: generic: dump pin configuration

Haojian Zhuang haojian.zhuang at linaro.org
Mon Feb 4 20:08:40 EST 2013


On 5 February 2013 08:35, Tony Lindgren <tony at atomide.com> wrote:
> * Haojian Zhuang <haojian.zhuang at linaro.org> [130202 09:30]:
>> @@ -114,4 +116,10 @@ static inline void pinconf_generic_dump_group(struct pinctrl_dev *pctldev,
>>       return;
>>  }
>>
>> +static void pinconf_generic_dump_config(struct pinctrl_dev *pctldev,
>> +                                     struct seq_file *s,
>> +                                     unsigned long config)
>> +{
>> +     return;
>> +}
>>  #endif
>
> This needs to be static inline void to avoid the following warning:
>
> drivers/pinctrl/pinconf.h:122: warning: ‘pinconf_generic_dump_config’ defined but not used
>
> Regards,
>
> Tony

Thanks. I'll update it.

Regards
Haojian



More information about the linux-arm-kernel mailing list