diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-07-02 19:44:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-07 14:37:30 +0300 |
commit | dc1aff7f0d1b79e17026e08b14d7bb60ccdae1c8 (patch) | |
tree | 5a2f22a63d51a58db7c36672d09eb235abb6247b /sound/soc/amd/acp-da7219-max98357a.c | |
parent | 2cb7802b50a2e3bb68e3960aae3955fef75c009b (diff) | |
download | linux-dc1aff7f0d1b79e17026e08b14d7bb60ccdae1c8.tar.xz |
ASoC: amd: acp-da7219-max98357a: fix 'defined but not used' warning
Fix W=1 warning
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200702164433.162815-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/acp-da7219-max98357a.c')
-rw-r--r-- | sound/soc/amd/acp-da7219-max98357a.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c index 9414d7269c4f..7d8986379d80 100644 --- a/sound/soc/amd/acp-da7219-max98357a.c +++ b/sound/soc/amd/acp-da7219-max98357a.c @@ -450,11 +450,13 @@ static int cz_probe(struct platform_device *pdev) return 0; } +#ifdef CONFIG_ACPI static const struct acpi_device_id cz_audio_acpi_match[] = { { "AMD7219", 0 }, {}, }; MODULE_DEVICE_TABLE(acpi, cz_audio_acpi_match); +#endif static struct platform_driver cz_pcm_driver = { .driver = { |