[PATCH 1/3] mmc:core: parse voltage from device-tree

Zhang Haijun B42677 at freescale.com
Tue Jul 30 11:34:29 EST 2013


On 07/30/2013 06:07 AM, Scott Wood wrote:
> On 07/28/2013 09:56:33 PM, Haijun Zhang wrote:
>> Add function to support get voltage from device-tree.
>> If there are voltage-range specified in device-tree node, this function
>> will parse it and return the avail voltage mask.
>>
>> Signed-off-by: Haijun Zhang <haijun.zhang at freescale.com>
>> ---
>>  drivers/mmc/core/core.c  | 48 
>> ++++++++++++++++++++++++++++++++++++++++++++++++
>>  include/linux/mmc/core.h |  1 +
>>  2 files changed, 49 insertions(+)
>
> Move the code rather than copying it.
>
> -Scott
Hi, Scott

You mean?

-- 
Thanks & Regards

Haijun




More information about the Linuxppc-dev mailing list