Skip to content

Commit abe9623

Browse files
BotchedRPRbroonie
authored andcommitted
regulator: Fix MAX77838 selection
The current entry for the MAX77838 regulator is unselectable (as it depended on a non-user-selectable config - REGMAP_I2C). Fix this by making it select the config, and not depending on it. Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org> Link: https://patch.msgid.link/20250917-maxreg-kconfig-fix-v1-1-1369f88d6272@mentallysanemainliners.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8b84d71 commit abe9623

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/regulator/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,8 @@ config REGULATOR_MAX77826
779779

780780
config REGULATOR_MAX77838
781781
tristate "Maxim 77838 regulator"
782-
depends on REGMAP_I2C
782+
depends on I2C
783+
select REGMAP_I2C
783784
help
784785
This driver controls a Maxim 77838 regulator via I2C bus.
785786
The regulator include 4 LDOs and a BUCK regulator. It's

0 commit comments

Comments
 (0)