I2C: mv_i2c: fix build issue when enable debug option
authorLei Wen <leiwen@marvell.com>
Fri, 30 Sep 2011 05:43:48 +0000 (05:43 +0000)
committerHeiko Schocher <hs@denx.de>
Mon, 3 Oct 2011 09:47:07 +0000 (11:47 +0200)
commit2be1ed349ca268d3867840fd28960785fd3def0b
tree972ee2b164ef7b466cf13abef977620e0a0f0088
parent7b8ffea2ac44097ed1c99ba70b8c6a4cf12ba0b4
I2C: mv_i2c: fix build issue when enable debug option

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@marvell.com>
drivers/i2c/mv_i2c.c