On Mon, 28 Aug 2023 15:42:01 -0700, Randy Dunlap wrote:
> CHARGER_RT5033 should honor the EXTCON setting to prevent these
> build errors:
>
> riscv64-linux-ld: drivers/power/supply/rt5033_charger.o: in function `.L33':
> rt5033_charger.c:(.text.rt5033_charger_probe+0x578): undefined reference to `extcon_find_edev_by_node'
> riscv64-linux-ld: drivers/power/supply/rt5033_charger.o: in function `.L0 ':
> rt5033_charger.c:(.text.rt5033_charger_probe+0x64e): undefined reference to `devm_extcon_register_notifier_all'
> riscv64-linux-ld: drivers/power/supply/rt5033_charger.o: in function `.L96':
> rt5033_charger.c:(.text.rt5033_charger_extcon_work+0x32): undefined reference to `extcon_get_state'
>
> [...]
Applied, thanks!
[1/1] power: supply: rt5033_charger: recognize EXTCON setting
commit: 37d1a624cb7934687dd9775f7fea771ae5aadd29
Best regards,
--
Sebastian Reichel <[email protected]>