Commit d463cead authored by Vijendar Mukunda's avatar Vijendar Mukunda Committed by Mark Brown

ASoC: amd: fix acpi dependency kernel warning

Fix ACPI dependency kernel warning produced by powerpc
allyesconfig.

sound/soc/amd/acp-da7219-max98357a.c:684:28: warning:
'cz_rt5682_card' defined but not used [-Wunused-variable]

sound/soc/amd/acp-da7219-max98357a.c:671:28: warning: 'cz_card'
defined but not used [-Wunused-variable]
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarVijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/1616777074-5151-2-git-send-email-Vijendar.Mukunda@amd.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 23f23db2
...@@ -11,7 +11,7 @@ config SND_SOC_AMD_CZ_DA7219MX98357_MACH ...@@ -11,7 +11,7 @@ config SND_SOC_AMD_CZ_DA7219MX98357_MACH
select SND_SOC_MAX98357A select SND_SOC_MAX98357A
select SND_SOC_ADAU7002 select SND_SOC_ADAU7002
select REGULATOR select REGULATOR
depends on SND_SOC_AMD_ACP && I2C && GPIOLIB depends on SND_SOC_AMD_ACP && I2C && GPIOLIB && ACPI
help help
This option enables machine driver for DA7219, RT5682 and MAX9835. This option enables machine driver for DA7219, RT5682 and MAX9835.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment