omap: board-omap3evm: Fix compilation error
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 28 Jun 2011 10:16:55 +0000 (10:16 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 29 Jun 2011 08:16:50 +0000 (01:16 -0700)
Fix compilation error introduced with 786b01a8c1db0c0decca55d660a2a3ebd7cfb26b
(cleanup regulator supply definitions in mach-omap2).

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
[tony@atomide.com: updated comments]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3evm.c

index e2202ddae667c49b4ef95f0df2bfb35f7247e61e..c2ea437065c323bb0eab7d5915c5c21074ab3a88 100644 (file)
@@ -510,7 +510,7 @@ static struct regulator_init_data omap3evm_vio = {
 #define OMAP3EVM_WLAN_IRQ_GPIO         (149)
 
 static struct regulator_consumer_supply omap3evm_vmmc2_supply[] = {
-       REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1");
+       REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1"),
 };
 
 /* VMMC2 for driving the WL12xx module */
@@ -518,7 +518,7 @@ static struct regulator_init_data omap3evm_vmmc2 = {
        .constraints = {
                .valid_ops_mask = REGULATOR_CHANGE_STATUS,
        },
-       .num_consumer_supplies  = ARRAY_SIZE(omap3evm_vmmc2_supply);,
+       .num_consumer_supplies  = ARRAY_SIZE(omap3evm_vmmc2_supply),
        .consumer_supplies      = omap3evm_vmmc2_supply,
 };