Commit 5146fc2b37a3098f0973b2f2339e069adfc7d272
Committed by
Heiko Schocher
1 parent
173d294b94
Exists in
v2017.01-smarct4x
and in
40 other branches
i2c: zynq: Fixed compilation errors when using DEBUG
Signed-off-by: Jesper B. Christensen <jesper.christensen@cobham.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/i2c/zynq_i2c.c
... | ... | @@ -142,7 +142,7 @@ |
142 | 142 | break; |
143 | 143 | } |
144 | 144 | #ifdef DEBUG |
145 | - zynq_i2c_debug_status(zynq_i2c)); | |
145 | + zynq_i2c_debug_status(zynq_i2c); | |
146 | 146 | #endif |
147 | 147 | /* Clear interrupt status flags */ |
148 | 148 | writel(int_status & mask, &zynq_i2c->interrupt_status); |
... | ... | @@ -235,7 +235,7 @@ |
235 | 235 | clrbits_le32(&zynq_i2c->control, ZYNQ_I2C_CONTROL_HOLD); |
236 | 236 | |
237 | 237 | #ifdef DEBUG |
238 | - zynq_i2c_debug_status(); | |
238 | + zynq_i2c_debug_status(zynq_i2c); | |
239 | 239 | #endif |
240 | 240 | return 0; |
241 | 241 | } |