Re: [PATCH] Fix IGEPv2 second MMC channel power supply

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux