]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
regulator: max8893: Select REGMAP_I2C to fix build error
authorAxel Lin <axel.lin@ingics.com>
Tue, 22 Jun 2021 14:15:26 +0000 (22:15 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 23 Jun 2021 11:34:41 +0000 (12:34 +0100)
Fix build error if REGMAP_I2C is not set.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210622141526.472175-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig

index 7c39570b99b0911a6b496729ce0c49cec3c36916..3a71b020ea1c026c7671d3e7a6b72935c8744524 100644 (file)
@@ -581,6 +581,7 @@ config REGULATOR_MAX8660
 config REGULATOR_MAX8893
        tristate "Maxim 8893 voltage regulator"
        depends on I2C
+       select REGMAP_I2C
        help
          This driver controls a Maxim 8893 voltage output
          regulator via I2C bus.