aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3logic.c
diff options
context:
space:
mode:
authorOleg Drokin <green@linuxhacker.ru>2011-06-06 14:57:07 -0400
committerTony Lindgren <tony@atomide.com>2011-06-14 07:46:26 -0400
commit786b01a8c1db0c0decca55d660a2a3ebd7cfb26b (patch)
treefde9e94c10d61e712c5e3b893e5c1dc5c82e723b /arch/arm/mach-omap2/board-omap3logic.c
parent2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 (diff)
cleanup regulator supply definitions in mach-omap2
to use REGULATOR_SUPPLY arrays. CC: Mark Brown <broonie@opensource.wolfsonmicro.com> CC: Mike Rapoport <mike@compulab.co.il> CC: Nishant Kamat <nskamat@ti.com> CC: Steve Sakoman <steve@sakoman.com> CC: Felipe Balbi <balbi@ti.com> CC: Santosh Shilimkar <santosh.shilimkar@ti.com> CC: peter.barada@logicpd.com Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3logic.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3logic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-omap3logic.c b/arch/arm/mach-omap2/board-omap3logic.c
index 60d9be49dbab..ec18435bc5d5 100644
--- a/arch/arm/mach-omap2/board-omap3logic.c
+++ b/arch/arm/mach-omap2/board-omap3logic.c
@@ -55,8 +55,8 @@
55#define OMAP3_TORPEDO_MMC_GPIO_CD 127 55#define OMAP3_TORPEDO_MMC_GPIO_CD 127
56#define OMAP3_TORPEDO_SMSC911X_GPIO_IRQ 129 56#define OMAP3_TORPEDO_SMSC911X_GPIO_IRQ 129
57 57
58static struct regulator_consumer_supply omap3logic_vmmc1_supply = { 58static struct regulator_consumer_supply omap3logic_vmmc1_supply[] = {
59 .supply = "vmmc", 59 REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0"),
60}; 60};
61 61
62/* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */ 62/* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */
@@ -71,8 +71,8 @@ static struct regulator_init_data omap3logic_vmmc1 = {
71 | REGULATOR_CHANGE_MODE 71 | REGULATOR_CHANGE_MODE
72 | REGULATOR_CHANGE_STATUS, 72 | REGULATOR_CHANGE_STATUS,
73 }, 73 },
74 .num_consumer_supplies = 1, 74 .num_consumer_supplies = ARRAY_SIZE(omap3logic_vmmc1_supply),
75 .consumer_supplies = &omap3logic_vmmc1_supply, 75 .consumer_supplies = omap3logic_vmmc1_supply,
76}; 76};
77 77
78static struct twl4030_gpio_platform_data omap3logic_gpio_data = { 78static struct twl4030_gpio_platform_data omap3logic_gpio_data = {