diff options
| author | YingKun Meng <[email protected]> | 2023-07-26 19:05:16 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-07-26 12:49:45 +0100 |
| commit | c17bd30d0ba5ca59266771cdfc387f26271a7042 (patch) | |
| tree | 56325205237e85c981094490c40e8ab6719828a9 /tools/perf/scripts/python | |
| parent | 8744776363c370b0eeb0ed50cb0212d7826639b7 (diff) | |
ASoC: loongson: drop of_match_ptr for OF device id
The ASoC Sound Card driver can be compile tested with !CONFIG_OF
making 'loongson_asoc_dt_ids' unused:
sound/soc/loongson/loongson_card.c:200:34: warning: unused variable 'loongson_asoc_dt_ids' [-Wunused-const-variable]
As krzysztof advice, we drop of_match_ptr so the device id
can also be used on ACPI.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]
Fixes: d24028606e76 ("ASoC: loongson: Add Loongson ASoC Sound Card Support")
Signed-off-by: YingKun Meng <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions