diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /include/linux/i2c-pnx.h | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'include/linux/i2c-pnx.h')
-rw-r--r-- | include/linux/i2c-pnx.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h index 49ed17fdf05..a87124d4d53 100644 --- a/include/linux/i2c-pnx.h +++ b/include/linux/i2c-pnx.h | |||
@@ -22,7 +22,6 @@ struct i2c_pnx_mif { | |||
22 | struct timer_list timer; /* Timeout */ | 22 | struct timer_list timer; /* Timeout */ |
23 | u8 * buf; /* Data buffer */ | 23 | u8 * buf; /* Data buffer */ |
24 | int len; /* Length of data buffer */ | 24 | int len; /* Length of data buffer */ |
25 | int order; /* RX Bytes to order via TX */ | ||
26 | }; | 25 | }; |
27 | 26 | ||
28 | struct i2c_pnx_algo_data { | 27 | struct i2c_pnx_algo_data { |
@@ -30,10 +29,14 @@ struct i2c_pnx_algo_data { | |||
30 | struct i2c_pnx_mif mif; | 29 | struct i2c_pnx_mif mif; |
31 | int last; | 30 | int last; |
32 | struct clk *clk; | 31 | struct clk *clk; |
32 | struct i2c_pnx_data *i2c_pnx; | ||
33 | struct i2c_adapter adapter; | 33 | struct i2c_adapter adapter; |
34 | phys_addr_t base; | 34 | }; |
35 | int irq; | 35 | |
36 | u32 timeout; | 36 | struct i2c_pnx_data { |
37 | const char *name; | ||
38 | u32 base; | ||
39 | int irq; | ||
37 | }; | 40 | }; |
38 | 41 | ||
39 | #endif /* __I2C_PNX_H__ */ | 42 | #endif /* __I2C_PNX_H__ */ |