[PATCH -next] ASoC: hdmi-codec: Make symbol 'hdmi_codec_controls' static

Maxime Ripard maxime at cerno.tech
Wed Jun 16 10:21:51 CEST 2021


On Tue, Jun 15, 2021 at 05:21:56PM +0000, Wei Yongjun wrote:
> The sparse tool complains as follows:
> 
> sound/soc/codecs/hdmi-codec.c:750:25: warning:
>  symbol 'hdmi_codec_controls' was not declared. Should it be static?
> 
> This symbol is not used outside of hdmi-codec.c, so marks it static.
> 
> Fixes: 366b45b97448 ("ASoC: hdmi-codec: Rework to support more controls")
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>

Acked-by: Maxime Ripard <maxime at cerno.tech>

Thanks!
Maxime


More information about the Alsa-devel mailing list