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>
This commit is contained in:
James Ban
2014-08-27 11:47:07 +09:00
committed by Mark Brown
parent 1d3e6a6985
commit bf3baca6c5
3 changed files with 142 additions and 8 deletions

View File

@@ -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