Re: [PATCH] power: supply: add stubs for notifier registration helpers
Sebastian Reichel <[email protected]>
| Newsgroups | org.kernel.vger.linux-pm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178606384499.107065.475250347908478923.b4-ty@b4> |
On Wed, 05 Aug 2026 11:54:01 -0700, Elson Serrao wrote:
> power_supply_reg_notifier() and power_supply_unreg_notifier() are declared
> unconditionally, with no fallback when CONFIG_POWER_SUPPLY is disabled.
> Any driver that calls them unconditionally fails to link:
>
> ERROR: modpost: "power_supply_unreg_notifier" [drivers/usb/dwc3/dwc3.ko]
> undefined!
> ERROR: modpost: "power_supply_reg_notifier" [drivers/usb/dwc3/dwc3.ko]
> undefined!
>
> [...]
Applied, thanks!
[1/1] power: supply: add stubs for notifier registration helpers
commit: 99b38cda3f4c486cfbc40f3c8ede1703594e9f13
Best regards,
--
Sebastian Reichel <[email protected]>