diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index f7d6038075f..069bc9f0cf3 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -213,8 +213,8 @@ static struct twl4030_madc_platform_data ldp_madc_data = { | |||
213 | .irq_line = 1, | 213 | .irq_line = 1, |
214 | }; | 214 | }; |
215 | 215 | ||
216 | static struct regulator_consumer_supply ldp_vmmc1_supply = { | 216 | static struct regulator_consumer_supply ldp_vmmc1_supply[] = { |
217 | .supply = "vmmc", | 217 | REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0"), |
218 | }; | 218 | }; |
219 | 219 | ||
220 | /* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */ | 220 | /* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */ |
@@ -228,8 +228,8 @@ static struct regulator_init_data ldp_vmmc1 = { | |||
228 | | REGULATOR_CHANGE_MODE | 228 | | REGULATOR_CHANGE_MODE |
229 | | REGULATOR_CHANGE_STATUS, | 229 | | REGULATOR_CHANGE_STATUS, |
230 | }, | 230 | }, |
231 | .num_consumer_supplies = 1, | 231 | .num_consumer_supplies = ARRAY_SIZE(ldp_vmmc1_supply), |
232 | .consumer_supplies = &ldp_vmmc1_supply, | 232 | .consumer_supplies = ldp_vmmc1_supply, |
233 | }; | 233 | }; |
234 | 234 | ||
235 | /* ads7846 on SPI */ | 235 | /* ads7846 on SPI */ |