aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-04-04 12:17:20 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-05 06:20:52 -0400
commit3ff4aa95b3cd960a1c2e1422bc3dbd604f88271b (patch)
tree49386cec88cdb492559b345d82eaf483ffb55341 /include/linux/regulator
parent3ec6eb9cc2dbfa5b626f813ab8077eb71da60af2 (diff)
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')
-rw-r--r--include/linux/regulator/max8952.h8
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 {
122 int gpio_vid1; 122 int gpio_vid1;
123 int gpio_en; 123 int gpio_en;
124 124
125 u8 default_mode; 125 u32 default_mode;
126 u8 dvs_mode[MAX8952_NUM_DVS_MODE]; /* MAX8952_DVS_MODEx_XXXXmV */ 126 u32 dvs_mode[MAX8952_NUM_DVS_MODE]; /* MAX8952_DVS_MODEx_XXXXmV */
127 127
128 u8 sync_freq; 128 u32 sync_freq;
129 u8 ramp_speed; 129 u32 ramp_speed;
130 130
131 struct regulator_init_data *reg_data; 131 struct regulator_init_data *reg_data;
132}; 132};