Hi,

On Sun, 14 Nov 2010 11:34:12 +0000, Marc Zyngier <[email protected]>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to