diff options
| author | Igor Belwon <igor.belwon@mentallysanemainliners.org> | 2025-09-17 16:58:28 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-09-17 18:46:21 +0100 |
| commit | abe962346ef420998d47ba1c2fe591582f69e92e (patch) | |
| tree | 13649f0c8dd11c0bba2da69c4aff6ddcea05faca | |
| parent | 8b84d712ad849172f6bbcad57534b284d942b0b5 (diff) | |
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>
| -rw-r--r-- | drivers/regulator/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 5e451be51392..e252bb11ae66 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -779,7 +779,8 @@ config REGULATOR_MAX77826 config REGULATOR_MAX77838 tristate "Maxim 77838 regulator" - depends on REGMAP_I2C + depends on I2C + select REGMAP_I2C help This driver controls a Maxim 77838 regulator via I2C bus. The regulator include 4 LDOs and a BUCK regulator. It's |
