[U-Boot] [PATCH 04/11] misc: pmic: addI2C support to pmic_fsl driver

Stefano Babic sbabic at denx.de
Sat Oct 8 16:37:58 CEST 2011


On 10/08/2011 03:57 PM, Sergei Shtylyov wrote:
> Hello.
> 
> On 08-10-2011 14:07, Stefano Babic wrote:
> 
>> Signed-off-by: Stefano Babic<sbabic at denx.de>
>> ---
>> +#elif defined(CONFIG_PMIC_I2C)
>> +    p->interface = PMIC_SPI;
>> +    p->interface = PMIC_I2C;
> 
>    You assign one value and immediately assign the other. First
> assignment shouldn't be here.

Right - I drop it in V2, thanks.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list