summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorJames Ban <james.ban.opensource@diasemi.com>2014-08-27 06:47:07 +0400
committerMark Brown <broonie@linaro.org>2014-08-27 13:27:56 +0400
commitbf3baca6c54ce8a2f51687296f868dfe20d33f13 (patch)
treeca07588b6f8ede9628abd2c3f7bcc35befa59be6 /include/linux/regulator
parent1d3e6a6985c14f0510ebbd81fb9e8c02b24f8791 (diff)
downloadlinux-bf3baca6c54ce8a2f51687296f868dfe20d33f13.tar.xz
regulator: da9211: support device tree
This is a patch for supporting device tree of DA9211/DA9213. Signed-off-by: James Ban <james.ban.opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/da9211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regulator/da9211.h b/include/linux/regulator/da9211.h
index 658c3c33f4c0..5479394fefce 100644
--- a/include/linux/regulator/da9211.h
+++ b/include/linux/regulator/da9211.h
@@ -32,6 +32,6 @@ struct da9211_pdata {
* 2 : 2 phase 2 buck
*/
int num_buck;
- struct regulator_init_data *init_data;
+ struct regulator_init_data *init_data[DA9211_MAX_REGULATORS];
};
#endif