2021-03-23 05:45:54

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the sound-asoc tree

Hi all,

After merging the sound-asoc tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

sound/soc/amd/acp-da7219-max98357a.c:684:28: warning: 'cz_rt5682_card' defined but not used [-Wunused-variable]
684 | static struct snd_soc_card cz_rt5682_card = {
| ^~~~~~~~~~~~~~
sound/soc/amd/acp-da7219-max98357a.c:671:28: warning: 'cz_card' defined but not used [-Wunused-variable]
671 | static struct snd_soc_card cz_card = {
| ^~~~~~~

Introduced by commit

7e71b48f9e27 ("ASoC: amd: Add support for RT5682 codec in machine driver")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-03-23 05:58:30

by Vijendar Mukunda

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the sound-asoc tree



On 3/23/21 11:13 AM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the sound-asoc tree, today's linux-next build (powerpc
> allyesconfig) produced this warning:
>
> sound/soc/amd/acp-da7219-max98357a.c:684:28: warning: 'cz_rt5682_card' defined but not used [-Wunused-variable]
> 684 | static struct snd_soc_card cz_rt5682_card = {
> | ^~~~~~~~~~~~~~
> sound/soc/amd/acp-da7219-max98357a.c:671:28: warning: 'cz_card' defined but not used [-Wunused-variable]
> 671 | static struct snd_soc_card cz_card = {
> | ^~~~~~~
>
> Introduced by commit
>
> 7e71b48f9e27 ("ASoC: amd: Add support for RT5682 codec in machine driver")
>

Will add ACPI dependency in Kconfig and submit the supplement patch.