diff options
author | James Ban | 2014-08-27 04:47:07 +0200 |
---|---|---|
committer | Mark Brown | 2014-08-27 11:27:56 +0200 |
commit | bf3baca6c54ce8a2f51687296f868dfe20d33f13 (patch) | |
tree | ca07588b6f8ede9628abd2c3f7bcc35befa59be6 /include/linux/regulator | |
parent | regulator: da9211: Check return value of devm_kzalloc() (diff) | |
download | kernel-qcow2-linux-bf3baca6c54ce8a2f51687296f868dfe20d33f13.tar.gz kernel-qcow2-linux-bf3baca6c54ce8a2f51687296f868dfe20d33f13.tar.xz kernel-qcow2-linux-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')
-rw-r--r-- | include/linux/regulator/da9211.h | 2 |
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 |