From ba441ec225337a82d06a56a5a874a565564a88e0 Mon Sep 17 00:00:00 2001
From: Axel Lin <axel.lin@ingics.com>
Date: Wed, 10 Sep 2014 08:44:36 +0800
Subject: 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>
---
 drivers/regulator/Kconfig | 1 +
 1 file changed, 1 insertion(+)

(limited to 'drivers/regulator')

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 3c8b6f401e4f..e0ee40054c8d 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.
 
-- 
cgit v1.2.3