[PATCH] regulator: isl9305: REGULATOR_ISL9305 needs to select REGMAP_I2C

From: Axel Lin
Date: Tue Sep 09 2014 - 20:44:46 EST


Fix ERROR: "devm_regmap_init_i2c" [drivers/regulator/isl9305.ko] undefined!

Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>
---
drivers/regulator/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 2b98a34..2419fe4 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -254,6 +254,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.

--
1.9.1



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/