Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347083
b: refs/heads/master
c: 5f43381
h: refs/heads/master
i:
  347081: 6c2577f
  347079: f816fcc
v: v3
  • Loading branch information
Ludovic Desroches authored and Wolfram Sang committed Nov 24, 2012
1 parent 5ad96bf commit fcdf68a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 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: cd32e6ccdda15be1bf5b1b0a52631b06bb243d9e
refs/heads/master: 5f433819b3ee4d8603f834e1438462c4ad58b185
30 changes: 15 additions & 15 deletions trunk/drivers/i2c/busses/i2c-at91.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,24 @@
#define AT91_TWI_THR 0x0034 /* Transmit Holding Register */

struct at91_twi_pdata {
unsigned clk_max_div;
unsigned clk_offset;
bool has_unre_flag;
unsigned clk_max_div;
unsigned clk_offset;
bool has_unre_flag;
};

struct at91_twi_dev {
struct device *dev;
void __iomem *base;
struct completion cmd_complete;
struct clk *clk;
u8 *buf;
size_t buf_len;
struct i2c_msg *msg;
int irq;
unsigned transfer_status;
struct i2c_adapter adapter;
unsigned twi_cwgr_reg;
struct at91_twi_pdata *pdata;
struct device *dev;
void __iomem *base;
struct completion cmd_complete;
struct clk *clk;
u8 *buf;
size_t buf_len;
struct i2c_msg *msg;
int irq;
unsigned transfer_status;
struct i2c_adapter adapter;
unsigned twi_cwgr_reg;
struct at91_twi_pdata *pdata;
};

static unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg)
Expand Down

0 comments on commit fcdf68a

Please sign in to comment.