Re: [U-Boot] [PATCH] I2C: mv_i2c: fix build issue when enable debug option

2011-10-03 Thread Heiko Schocher
Hello Lei, Lei Wen wrote: > When DEBUG_I2C is open, the following build issue would shows up. > > mv_i2c.c: In function 'i2c_transfer': > mv_i2c.c:257: error: 'ISR' undeclared (first use in this function) > mv_i2c.c:257: error: (Each undeclared identifier is reported only once > mv_i2c.c:257: err

[U-Boot] [PATCH] I2C: mv_i2c: fix build issue when enable debug option

2011-09-30 Thread Lei Wen
When DEBUG_I2C is open, the following build issue would shows up. mv_i2c.c: In function 'i2c_transfer': mv_i2c.c:257: error: 'ISR' undeclared (first use in this function) mv_i2c.c:257: error: (Each undeclared identifier is reported only once mv_i2c.c:257: error: for each function it appears in.)