Hi Randy, On Mon, Jan 04, 2021 at 08:26:04PM -0800, Randy Dunlap wrote: > Commit bb118e5178b3 in linux-next seems to introduce a few build problems: > > ld: drivers/power/supply/max8997_charger.o: in function `max8997_battery_extcon_evt_worker': > max8997_charger.c:(.text+0xa3): undefined reference to `extcon_get_state' > ld: max8997_charger.c:(.text+0x102): undefined reference to `extcon_get_state' > ld: max8997_charger.c:(.text+0x161): undefined reference to `extcon_get_state' > ld: max8997_charger.c:(.text+0x1c0): undefined reference to `extcon_get_state' > ld: max8997_charger.c:(.text+0x21f): undefined reference to `extcon_get_state' > ld: drivers/power/supply/max8997_charger.o: in function `max8997_battery_probe': > max8997_charger.c:(.text+0x962): undefined reference to `extcon_get_edev_by_phandle' > ld: max8997_charger.c:(.text+0xab0): undefined reference to `devm_extcon_register_notifier_all' > > > CONFIG_EXTCON=m > CONFIG_CHARGER_MAX8997=y > > > Full randconfig file is attached. Thanks for the report, I just force pushed an update for bb118e5178b3 ("power: supply: max8997_charger: Set CHARGER current limit"), which adds 'depends on EXTCON || !EXTCON' to config CHARGER_MAX8997 into power-supply's for-next branch. -- Sebastian
Attachment:
signature.asc
Description: PGP signature