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 /tools/perf/scripts | |
| parent | 9c6c417d95d83999c16965186f6e755ad8a8b658 (diff) | |
| download | linux-0faf1237c60a3791d7ff32035d3097d3e022e68f.tar.gz linux-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 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
