Commit dc1aff7f authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: amd: acp-da7219-max98357a: fix 'defined but not used' warning

Fix W=1 warning
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200702164433.162815-2-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2cb7802b
...@@ -450,11 +450,13 @@ static int cz_probe(struct platform_device *pdev) ...@@ -450,11 +450,13 @@ static int cz_probe(struct platform_device *pdev)
return 0; return 0;
} }
#ifdef CONFIG_ACPI
static const struct acpi_device_id cz_audio_acpi_match[] = { static const struct acpi_device_id cz_audio_acpi_match[] = {
{ "AMD7219", 0 }, { "AMD7219", 0 },
{}, {},
}; };
MODULE_DEVICE_TABLE(acpi, cz_audio_acpi_match); MODULE_DEVICE_TABLE(acpi, cz_audio_acpi_match);
#endif
static struct platform_driver cz_pcm_driver = { static struct platform_driver cz_pcm_driver = {
.driver = { .driver = {
......
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