[PATCH] Fix IGEPv2 second MMC channel power supply

Felipe Balbi me at felipebalbi.com
Sun Nov 14 10:14:41 EST 2010


Hi,

On Sun, 14 Nov 2010 11:34:12 +0000, Marc Zyngier <maz at misterjones.org>
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



More information about the linux-arm-kernel mailing list