diff options
author | Tomasz Figa <t.figa@samsung.com> | 2013-04-04 20:17:20 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-05 14:20:52 +0400 |
commit | 3ff4aa95b3cd960a1c2e1422bc3dbd604f88271b (patch) | |
tree | 49386cec88cdb492559b345d82eaf483ffb55341 /include/linux/regulator/max8952.h | |
parent | 3ec6eb9cc2dbfa5b626f813ab8077eb71da60af2 (diff) | |
download | linux-3ff4aa95b3cd960a1c2e1422bc3dbd604f88271b.tar.xz |
regulator: max8952: Add Device Tree support
This patch adds Device Tree support to max8952 regulator driver.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator/max8952.h')
-rw-r--r-- | include/linux/regulator/max8952.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/regulator/max8952.h b/include/linux/regulator/max8952.h index c13aa34d9019..4dbb63a1d4ab 100644 --- a/include/linux/regulator/max8952.h +++ b/include/linux/regulator/max8952.h @@ -122,11 +122,11 @@ struct max8952_platform_data { int gpio_vid1; int gpio_en; - u8 default_mode; - u8 dvs_mode[MAX8952_NUM_DVS_MODE]; /* MAX8952_DVS_MODEx_XXXXmV */ + u32 default_mode; + u32 dvs_mode[MAX8952_NUM_DVS_MODE]; /* MAX8952_DVS_MODEx_XXXXmV */ - u8 sync_freq; - u8 ramp_speed; + u32 sync_freq; + u32 ramp_speed; struct regulator_init_data *reg_data; }; |