Re: [PATCH] ASoC: SOF: amd: fix building without CONFIG_ACPI
From: Arnd Bergmann
Date: Fri Sep 25 2026 - 14:11:03 EST
On Fri, Sep 25, 2026, at 18:37, Mukunda,Vijendar wrote:
> On 9/25/26 19:02, Mario Limonciello wrote:
>> On 9/25/26 08:10, Arnd Bergmann wrote:
>>> From: Arnd Bergmann <arnd@xxxxxxxx>
>>>
>>> When ACPI is disabled, this driver runs into a build failure:
>>>
>>> sound/soc/sof/amd/acp.c:1374:13: error: call to undeclared function
>>> 'acpi_find_child_device'; ISO C99 and later do not support implicit
>>> function declarations [-Wimplicit-function-declaration]
>>> 1374 | pdm_dev = acpi_find_child_device(adev,
>>> ACP7X_DMIC_ADDR, 0);
>>>
> Hi Arnd,
>
> Thanks for catching and fixing this issue.
> As the author of the original patch, I didn't receive the
> original bug report. Was it sent to a limited recipient set,
> or could there have been a mailing list delivery issue?
No idea, my report is in the archive, and I assume that is how
Mario saw it:
https://lore.kernel.org/linux-sound/20260925131104.118993-1-arnd@xxxxxxxxxx/
I only ran into the problem on today's linux-next during
randconfig testing.
Arnd