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

ASoC: amd: acp-rt5645: 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-3-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent dc1aff7f
...@@ -182,11 +182,13 @@ static int cz_probe(struct platform_device *pdev) ...@@ -182,11 +182,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[] = {
{ "AMDI1002", 0 }, { "AMDI1002", 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