linux/sound/soc/loongson
YingKun Meng c17bd30d0b
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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307242008.xqdjgk04-lkp@intel.com
Fixes: d24028606e ("ASoC: loongson: Add Loongson ASoC Sound Card Support")
Signed-off-by: YingKun Meng <mengyingkun@loongson.cn>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230726110516.703342-1-mengyingkun@loongson.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-07-26 12:49:45 +01:00
..
Kconfig ASoC: loongson: add PCI dependency 2023-06-16 12:56:08 +01:00
loongson_card.c ASoC: loongson: drop of_match_ptr for OF device id 2023-07-26 12:49:45 +01:00
loongson_dma.c
loongson_dma.h
loongson_i2s_pci.c ASoC: loongson: fix address space confusion 2023-06-22 18:02:06 +01:00
loongson_i2s.c ASoC: loongson: fix compile testing on 32-bit 2023-06-16 12:56:09 +01:00
loongson_i2s.h ASoC: loongson: change the type of variable irq to int 2023-06-19 12:59:33 +01:00
Makefile ASoC: loongson: Add Loongson ASoC Sound Card Support 2023-06-15 13:53:27 +01:00