diff options
Diffstat (limited to 'include/linux/mfd/max8925.h')
-rw-r--r-- | include/linux/mfd/max8925.h | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/include/linux/mfd/max8925.h b/include/linux/mfd/max8925.h index 15b2392a56fb..74d8e2969630 100644 --- a/include/linux/mfd/max8925.h +++ b/include/linux/mfd/max8925.h | |||
@@ -158,8 +158,6 @@ enum { | |||
158 | #define TSC_IRQ_MASK (0x03) | 158 | #define TSC_IRQ_MASK (0x03) |
159 | #define RTC_IRQ_MASK (0x0c) | 159 | #define RTC_IRQ_MASK (0x0c) |
160 | 160 | ||
161 | #define MAX8925_MAX_REGULATOR (23) | ||
162 | |||
163 | #define MAX8925_NAME_SIZE (32) | 161 | #define MAX8925_NAME_SIZE (32) |
164 | 162 | ||
165 | /* IRQ definitions */ | 163 | /* IRQ definitions */ |
@@ -236,7 +234,29 @@ struct max8925_platform_data { | |||
236 | struct max8925_backlight_pdata *backlight; | 234 | struct max8925_backlight_pdata *backlight; |
237 | struct max8925_touch_pdata *touch; | 235 | struct max8925_touch_pdata *touch; |
238 | struct max8925_power_pdata *power; | 236 | struct max8925_power_pdata *power; |
239 | struct regulator_init_data *regulator[MAX8925_MAX_REGULATOR]; | 237 | struct regulator_init_data *sd1; |
238 | struct regulator_init_data *sd2; | ||
239 | struct regulator_init_data *sd3; | ||
240 | struct regulator_init_data *ldo1; | ||
241 | struct regulator_init_data *ldo2; | ||
242 | struct regulator_init_data *ldo3; | ||
243 | struct regulator_init_data *ldo4; | ||
244 | struct regulator_init_data *ldo5; | ||
245 | struct regulator_init_data *ldo6; | ||
246 | struct regulator_init_data *ldo7; | ||
247 | struct regulator_init_data *ldo8; | ||
248 | struct regulator_init_data *ldo9; | ||
249 | struct regulator_init_data *ldo10; | ||
250 | struct regulator_init_data *ldo11; | ||
251 | struct regulator_init_data *ldo12; | ||
252 | struct regulator_init_data *ldo13; | ||
253 | struct regulator_init_data *ldo14; | ||
254 | struct regulator_init_data *ldo15; | ||
255 | struct regulator_init_data *ldo16; | ||
256 | struct regulator_init_data *ldo17; | ||
257 | struct regulator_init_data *ldo18; | ||
258 | struct regulator_init_data *ldo19; | ||
259 | struct regulator_init_data *ldo20; | ||
240 | 260 | ||
241 | int irq_base; | 261 | int irq_base; |
242 | int tsc_irq; | 262 | int tsc_irq; |