linux-next: build failure after merge of the battery tree
Mark Brown
maintainerHi all,
After merging the battery tree, today's linux-next build (x86_64 allmodconfig) failed like this:
/tmp/next/build/drivers/power/supply/gpio-charger.c:26:35: error: variable 'gpio_charger_properties' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
26 | static enum power_supply_property gpio_charger_properties[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~1 error generated.
Caused by commit
fad4655224f60 (power: supply: gpio-charger: Keep properties per device)
I have used the tree from next-20261113 instead.
Hi,
Quoted 8 lines · Mark Brown
Hi all,
After merging the battery tree, today's linux-next build (
x86_64allmodconfig) failed like this:
/tmp/next/build/drivers/power/supply/gpio-charger.c:26:35: error: variable 'gpio_charger_properties' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]26 | static enum power_supply_property gpio_charger_properties[] = { | ^~~~~~~~~~~~~~~~~~~~~~~
Quoted 7 lines
1 error generated.
Caused by commit
fad4655224f60(power: supply: gpio-charger: Keep properties per device)I have used the tree from next-20261113 instead.
Should be fixed.
Thanks for the headsup,
-- Sebastian