Re: linux-next: build failure after merge of the spi tree

From: André Almeida
Date: Wed Feb 16 2022 - 07:20:50 EST


Hi Stephen,

Às 02:17 de 16/02/22, Stephen Rothwell escreveu:
> Hi all,
>
> After merging the spi tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> drivers/spi/spi-amd.c:333:37: error: 'spi_acpi_match' undeclared here (not in a function)
> 333 | .acpi_match_table = spi_acpi_match,
> | ^~~~~~~~~~~~~~
>
> Caused by commit
>
> 209043554915 ("spi: amd: Add support for version AMDI0062")
>
> CONFIG_ACPI is not set for this build.
>
> I have reverted that commit for today.
>

Thanks for input. I'll send a new series with a patch to make this
driver depends on ACPI then. My patch touched this line, but this
variable was there before, so I think this build breakage is happening
for some time.