Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313820
b: refs/heads/master
c: f794d7b
h: refs/heads/master
v: v3
  • Loading branch information
Sonic Zhang authored and Bob Liu committed Jul 24, 2012
1 parent 23ceb8e commit 58ad52d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 335dd559b5c870b4ca3111b46f3358389c1ead3b
refs/heads/master: f794d7ba884ffdde063273a97045a6b8d05aa94c
4 changes: 2 additions & 2 deletions trunk/arch/blackfin/include/asm/bfin_twi.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ struct bfin_twi_iface {

#define DEFINE_TWI_REG(reg_name, reg) \
static inline u16 read_##reg_name(struct bfin_twi_iface *iface) \
{ return iface->regs_base->reg; } \
{ return bfin_read16(&iface->regs_base->reg); } \
static inline void write_##reg_name(struct bfin_twi_iface *iface, u16 v) \
{ iface->regs_base->reg = v; }
{ bfin_write16(&iface->regs_base->reg, v); }

DEFINE_TWI_REG(CLKDIV, clkdiv)
DEFINE_TWI_REG(CONTROL, control)
Expand Down

0 comments on commit 58ad52d

Please sign in to comment.