summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-08-02 19:46:17 +0530
committerSimone Willett <swillett@nvidia.com>2012-08-03 14:02:06 -0700
commitc29f0ba149c9ca26e541df2cce9ef08a3ab18630 (patch)
treeb82fb119f46e51ea1f8eac1dd57a93f0325fb9ff /include/linux/regulator
parent5e7698f9b861a2e24f579eb2b5ab264badd22ad0 (diff)
regulator: tps65090: fix multiple regulator registration issue
The regulator of tps65090 is registered as mfd sub device and hence all regulator should be register in one call of tps65090 regulator probe. Fixing this by providing the list of regulator platform data and registering the regulators in single probe call. Change-Id: I06600d0bf4dfd62238bed77713ee8abf2afe2371 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/120838
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/tps65090-regulator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regulator/tps65090-regulator.h b/include/linux/regulator/tps65090-regulator.h
index e352a93a7bc7..2b7d0a18f836 100644
--- a/include/linux/regulator/tps65090-regulator.h
+++ b/include/linux/regulator/tps65090-regulator.h
@@ -40,10 +40,12 @@ enum {
* struct tps65090_regulator_platform_data
*
* @reg_init_data: The regulator init data.
+ * @id: Regulator ID.
* @slew_rate_uV_per_us: Slew rate microvolt per microsec.
*/
struct tps65090_regulator_platform_data {
+ int id;
struct regulator_init_data *reg_init_data;
};