Re: linux-next: build warning after merge of the sound-asoc tree

From: Mukunda,Vijendar
Date: Tue Mar 23 2021 - 01:57:47 EST




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.