projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
173d294
)
i2c: zynq: Fixed compilation errors when using DEBUG
author
Jesper B. Christensen
<jesper.christensen@cobham.com>
Fri, 25 Apr 2014 13:46:17 +0000
(15:46 +0200)
committer
Heiko Schocher
<hs@denx.de>
Thu, 8 May 2014 05:03:37 +0000
(07:03 +0200)
Signed-off-by: Jesper B. Christensen <jesper.christensen@cobham.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/i2c/zynq_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/zynq_i2c.c
b/drivers/i2c/zynq_i2c.c
index f1f65131a2a93166afffcb053e4d607029180a08..b3264af4526eb778262313334eca4d5ce4141ff4 100644
(file)
--- a/
drivers/i2c/zynq_i2c.c
+++ b/
drivers/i2c/zynq_i2c.c
@@
-142,7
+142,7
@@
static u32 zynq_i2c_wait(struct zynq_i2c_registers *zynq_i2c, u32 mask)
break;
}
#ifdef DEBUG
- zynq_i2c_debug_status(zynq_i2c)
)
;
+ zynq_i2c_debug_status(zynq_i2c);
#endif
/* Clear interrupt status flags */
writel(int_status & mask, &zynq_i2c->interrupt_status);
@@
-235,7
+235,7
@@
static int zynq_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr,
clrbits_le32(&zynq_i2c->control, ZYNQ_I2C_CONTROL_HOLD);
#ifdef DEBUG
- zynq_i2c_debug_status();
+ zynq_i2c_debug_status(
zynq_i2c
);
#endif
return 0;
}