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<[email protected]> >> --- >> +#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: [email protected] ===================================================================== _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

