[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <30caa2df-4cfc-761e-759f-039e4ff858dd@linaro.org>
Date: Wed, 26 Jul 2023 13:11:16 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: YingKun Meng <mengyingkun@...ngson.cn>, broonie@...nel.org,
lgirdwood@...il.com
Cc: xry111@...111.site, linux-kernel@...r.kernel.org,
loongarch@...ts.linux.dev, loongson-kernel@...ts.loongnix.cn,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] ASoC: loongson: drop of_match_ptr for OF device id
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@...el.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@...ngson.cn>
> ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists