diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-13 22:25:01 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-15 15:03:21 +0100 |
commit | 0faf1237c60a3791d7ff32035d3097d3e022e68f (patch) | |
tree | a6e5ef458810140170fcba7d05c25a4f7ba09065 /sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | |
parent | ASoC: SOF: fix HDA direct MMIO access (diff) | |
download | linux-dev-0faf1237c60a3791d7ff32035d3097d3e022e68f.tar.xz linux-dev-0faf1237c60a3791d7ff32035d3097d3e022e68f.zip |
ASoC: soc-core: Fix -Wunused-const-variable warning
If CONFIG_DMI is not set, gcc warns:
sound/soc/soc-core.c:81:27: warning:
dmi_blacklist defined but not used [-Wunused-const-variable=]
Add #ifdef guard around it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190813142501.13080-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt2701/mt2701-afe-pcm.c')
0 files changed, 0 insertions, 0 deletions