Re: [PATCH] power: supply: chagall: select REGMAP_I2C
From: Sebastian Reichel
Date: Tue Dec 01 2026 - 22:08:53 EST
On Mon, 30 Nov 2026 20:43:15 +0800, Pengpeng Hou wrote:
> chagall-battery.c initializes an I2C regmap using
> devm_regmap_init_i2c(), but BATTERY_CHAGALL does not select
> REGMAP_I2C. The driver can therefore be enabled without the required
> register-transport implementation and fail to build.
>
> Select REGMAP_I2C so the backend is enabled at the linkage level
> required by this consumer, rather than relying on another driver to
> pull it in.
>
> [...]
Applied, thanks!
[1/1] power: supply: chagall: select REGMAP_I2C
commit: 6745996126a3e0c1f91601a5c038a466451f098d
Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>