projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc1aff7
)
ASoC: amd: acp-rt5645: fix 'defined but not used' warning
author
Pierre-Louis Bossart
<pierre-louis.bossart@linux.intel.com>
Thu, 2 Jul 2020 16:44:29 +0000
(11:44 -0500)
committer
Mark Brown
<broonie@kernel.org>
Tue, 7 Jul 2020 11:37:31 +0000
(12:37 +0100)
Fix W=1 warning
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link:
https://lore.kernel.org/r/20200702164433.162815-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-rt5645.c
patch
|
blob
|
history
diff --git
a/sound/soc/amd/acp-rt5645.c
b/sound/soc/amd/acp-rt5645.c
index
73b31f8
..
87f0060
100644
(file)
--- a/
sound/soc/amd/acp-rt5645.c
+++ b/
sound/soc/amd/acp-rt5645.c
@@
-182,11
+182,13
@@
static int cz_probe(struct platform_device *pdev)
return 0;
}
+#ifdef CONFIG_ACPI
static const struct acpi_device_id cz_audio_acpi_match[] = {
{ "AMDI1002", 0 },
{},
};
MODULE_DEVICE_TABLE(acpi, cz_audio_acpi_match);
+#endif
static struct platform_driver cz_pcm_driver = {
.driver = {