summaryrefslogtreecommitdiff
path: root/include/linux/regulator/da9211.h
diff options
context:
space:
mode:
authorJames Ban <james.ban.opensource@diasemi.com>2014-08-27 11:47:07 +0900
committerMark Brown <broonie@linaro.org>2014-08-27 10:27:56 +0100
commitbf3baca6c54ce8a2f51687296f868dfe20d33f13 (patch)
treeca07588b6f8ede9628abd2c3f7bcc35befa59be6 /include/linux/regulator/da9211.h
parent1d3e6a6985c14f0510ebbd81fb9e8c02b24f8791 (diff)
downloadlwn-bf3baca6c54ce8a2f51687296f868dfe20d33f13.tar.gz
lwn-bf3baca6c54ce8a2f51687296f868dfe20d33f13.zip
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/da9211.h')
-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