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

Tony Lindgren tony at atomide.com
Mon Feb 4 19:35:37 EST 2013


* 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



More information about the linux-arm-kernel mailing list