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

From: Guenter Roeck
Date: Tue Apr 28 2020 - 09:19:19 EST


On 4/27/20 11:36 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the hwmon-staging tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> drivers/hwmon/lm70.c: In function 'lm70_probe':
> drivers/hwmon/lm70.c:186:34: error: 'lm70_acpi_ids' undeclared (first use in this function); did you mean 'lm70_of_ids'?
> 186 | acpi_match = acpi_match_device(lm70_acpi_ids, &spi->dev);
> | ^~~~~~~~~~~~~
> | lm70_of_ids
>
> Caused by commit
>
> 02b925a9104d ("hwmon: (lm70) Add support for ACPI")
>
> CONFIG_ACPI is not set.
>
> I have reverted that commit for today.
>

I fixed it up. And I'll have to add test builds with CONFIG_ACPI=n.

Guenter

Attachment: signature.asc
Description: OpenPGP digital signature