diff options
author | Dirk Brandewie <dirk.brandewie@gmail.com> | 2011-10-06 14:26:31 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-10-29 06:03:50 -0400 |
commit | 2fa8326b4b1e5fdc889b57b03b1313f3229cb438 (patch) | |
tree | aa76a229f4090ba1dc9e1ad7bb06666eb8ee62d5 /drivers/i2c/busses/i2c-designware-core.h | |
parent | 1d31b58f648c4f754b23fed4d57acc941080e5ee (diff) |
i2c-designware: move i2c functionality bit field to be adapter specific
The functionality of the adapter depends on the configuration of the
IP block at silicon compile time and is adapter specific.
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-designware-core.h')
-rw-r--r-- | drivers/i2c/busses/i2c-designware-core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-designware-core.h b/drivers/i2c/busses/i2c-designware-core.h index 43de340af57f..ab4e655a6c61 100644 --- a/drivers/i2c/busses/i2c-designware-core.h +++ b/drivers/i2c/busses/i2c-designware-core.h | |||
@@ -182,6 +182,7 @@ struct dw_i2c_dev { | |||
182 | int irq; | 182 | int irq; |
183 | int swab; | 183 | int swab; |
184 | struct i2c_adapter adapter; | 184 | struct i2c_adapter adapter; |
185 | u32 functionality; | ||
185 | unsigned int tx_fifo_depth; | 186 | unsigned int tx_fifo_depth; |
186 | unsigned int rx_fifo_depth; | 187 | unsigned int rx_fifo_depth; |
187 | }; | 188 | }; |