summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-09-10 08:44:36 +0800
committerMark Brown <broonie@kernel.org>2014-09-10 12:45:48 +0100
commitba441ec225337a82d06a56a5a874a565564a88e0 (patch)
treeec6b298d64ad6281579edfa503dd86822be9462d
parent93a127b11ac034b160ccdd32e27d791b98f52cf5 (diff)
regulator: isl9305: REGULATOR_ISL9305 needs to select REGMAP_I2C
Fix ERROR: "devm_regmap_init_i2c" [drivers/regulator/isl9305.ko] undefined! Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/regulator/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 3c8b6f401e4..e0ee40054c8 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -253,6 +253,7 @@ config REGULATOR_HI6421
config REGULATOR_ISL9305
tristate "Intersil ISL9305 regulator"
depends on I2C
+ select REGMAP_I2C
help
This driver supports ISL9305 voltage regulator chip.