OSDN Git Service

regulator: isl9305: REGULATOR_ISL9305 needs to select REGMAP_I2C
authorAxel Lin <axel.lin@ingics.com>
Wed, 10 Sep 2014 00:44:36 +0000 (08:44 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 10 Sep 2014 11:45:48 +0000 (12:45 +0100)
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>
drivers/regulator/Kconfig

index 3c8b6f4..e0ee400 100644 (file)
@@ -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.