linux-next: build failure after merge of the hwmon-staging tree
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_idsCaused by commit
02b925a9104d ("hwmon: (lm70) Add support for ACPI")
CONFIG_ACPI is not set.
I have reverted that commit for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 11 lines · Stephen Rothwell
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
Quoted 8 lines
Caused by commit
02b925a9104d("hwmon: (lm70) Add support for ACPI")
CONFIG_ACPIis 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