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

Guenter Roeck
2020-04-28T13:19:17Z

[-- Attachment #1.1: Type: text/plain, Size: 785 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]