[U-Boot] [PATCH 13/17] post/i2c: Add ability to ignore I2C devices

Peter Tyser ptyser at xes-inc.com
Thu Sep 30 16:38:38 CEST 2010


On Thu, 2010-09-30 at 13:04 +0200, Reinhard Meyer wrote:
> Dear Sergei Shtylyov,
> >> +#ifdef I2C_ADDR_IGNORE_LIST
> >> +	unsigned char i2c_ignore_list[] = I2C_ADDR_IGNORE_LIST;
> > 
> >     This array is aking to be *static*...
> ... and *const* as well ?

I'll add 'const' in the next version, but I'm not sure if the 'static'
adds any benefit since its a local variable.

Thanks for the inputs,
Peter



More information about the U-Boot mailing list