2010/11/14 Felipe Balbi <me@xxxxxxxxxxxxxxx>: > Hi, > > On Sun, 14 Nov 2010 11:34:12 +0000, Marc Zyngier <maz@xxxxxxxxxxxxxxx> > wrote: >> @@ -272,8 +273,8 @@ static struct regulator_init_data igep2_vmmc1 = { >>                    | REGULATOR_CHANGE_MODE >>                    | REGULATOR_CHANGE_STATUS, >>    }, >> -   .num_consumer_supplies Â= 1, >> -   .consumer_supplies   Â= &igep2_vmmc1_supply, >> +   .num_consumer_supplies Â= 2, > > use ARRAY_SIZE(igep2_vmmc1_supplies), > > -- > balbi > Why we need to define an unexistent regulator in board file ? This should not be done enabling the CONFIG_DUMMY_REGULATOR in your kernel configuration ? Cheers, Enric -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html