[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-3.0 / pm-wip / voltdm / 0018-omap-board-omap3evm-Fix-compilation-error.patch
1 From 59a54033e4f7c06fa47a7e0a81f8f35a10a362b0 Mon Sep 17 00:00:00 2001
2 From: Peter Ujfalusi <peter.ujfalusi@ti.com>
3 Date: Tue, 28 Jun 2011 10:16:55 +0000
4 Subject: [PATCH 018/149] omap: board-omap3evm: Fix compilation error
6 Fix compilation error introduced with 786b01a8c1db0c0decca55d660a2a3ebd7cfb26b
7 (cleanup regulator supply definitions in mach-omap2).
9 Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
10 [tony@atomide.com: updated comments]
11 Signed-off-by: Tony Lindgren <tony@atomide.com>
12 ---
13 arch/arm/mach-omap2/board-omap3evm.c | 4 ++--
14 1 files changed, 2 insertions(+), 2 deletions(-)
16 diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c
17 index 6f957ed..57bce0f 100644
18 --- a/arch/arm/mach-omap2/board-omap3evm.c
19 +++ b/arch/arm/mach-omap2/board-omap3evm.c
20 @@ -510,7 +510,7 @@ static struct regulator_init_data omap3evm_vio = {
21 #define OMAP3EVM_WLAN_IRQ_GPIO (149)
23 static struct regulator_consumer_supply omap3evm_vmmc2_supply[] = {
24 - REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1");
25 + REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1"),
26 };
28 /* VMMC2 for driving the WL12xx module */
29 @@ -518,7 +518,7 @@ static struct regulator_init_data omap3evm_vmmc2 = {
30 .constraints = {
31 .valid_ops_mask = REGULATOR_CHANGE_STATUS,
32 },
33 - .num_consumer_supplies = ARRAY_SIZE(omap3evm_vmmc2_supply);,
34 + .num_consumer_supplies = ARRAY_SIZE(omap3evm_vmmc2_supply),
35 .consumer_supplies = omap3evm_vmmc2_supply,
36 };
38 --
39 1.6.6.1