Skip to content
Commit 87c3d579 authored by Enric Balletbo i Serra's avatar Enric Balletbo i Serra Committed by Sebastian Reichel
Browse files

power: supply: bq24257_charger: Replace depends on REGMAP_I2C with select



regmap is a library function that gets selected by drivers that need
it. No driver modules should depend on it. Depending on REGMAP_I2C makes
this driver only build if another driver already selected REGMAP_I2C,
as the symbol can't be selected through the menu kernel configuration.

Fixes: 2219a935 ("power_supply: Add TI BQ24257 charger driver")
Signed-off-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 8f3d9f35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment