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

Heiko Schocher hs at denx.de
Mon Oct 3 11:56:19 CEST 2011


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: error: for each function it appears in.)
> 
> Signed-off-by: Lei Wen <leiwen at marvell.com>
> ---
>  drivers/i2c/mv_i2c.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied to u-boot-i2c.git

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list