[PATCH] Fix IGEPv2 second MMC channel power supply
Enric Balletbò i Serra
eballetbo at gmail.com
Sun Nov 14 13:11:46 EST 2010
2010/11/14 Felipe Balbi <me at felipebalbi.com>:
> 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
>
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
More information about the linux-arm-kernel
mailing list