Re: [PATCH -next] ASoC: hdmi-codec: Make symbol 'hdmi_codec_controls' static
From: Maxime Ripard
Date: Wed Jun 16 2021 - 04:22:01 EST
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@xxxxxxxxxx>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
Acked-by: Maxime Ripard <maxime@xxxxxxxxxx>
Thanks!
Maxime