Messages in this thread |  | | Date | Tue, 4 Feb 2020 11:00:27 +0000 | From | Mark Brown <> | Subject | Re: [PATCH -next] ASoc: rt1015: make symbol rt1015_aif_dai_ops and rt1015_dai static |
| |
On Mon, Feb 03, 2020 at 10:18:41AM +0800, Hongbo Yao wrote: > Fix sparse warning: > sound/soc/codecs/rt1015.c: warning: symbol 'rt1015_aif_dai_ops' > was not declared. Should it be static? > sound/soc/codecs/rt1015.c: warning: symbol 'rt1015_dai' was not > declared. Should it be static?
This introduces other warnings so clearly isn't the best fix:
CC sound/soc/codecs/rt1015.o sound/soc/codecs/rt1015.c:844:31: warning: ‘rt1015_aif_dai_ops’ defined but not used [-Wunused-variable] static struct snd_soc_dai_ops rt1015_aif_dai_ops = { ^~~~~~~~~~~~~~~~~~
[unhandled content-type:application/pgp-signature] |  |