Messages in this thread | | | Date | Wed, 26 Jul 2023 13:11:16 +0200 | Subject | Re: [PATCH] ASoC: loongson: drop of_match_ptr for OF device id | From | Krzysztof Kozlowski <> |
| |
On 26/07/2023 13:05, YingKun Meng wrote: > 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: d24028606e76 ("ASoC: loongson: Add Loongson ASoC Sound Card Support") > Signed-off-by: YingKun Meng <mengyingkun@loongson.cn> > ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards, Krzysztof
| |