diff options
author | Dirk Brandewie <dirk.brandewie@gmail.com> | 2011-10-06 22:26:32 +0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-10-29 14:03:50 +0400 |
commit | e18563fc560aba0d95a5a73145812a081fb38fac (patch) | |
tree | a244326e1d17deb93958bee1e10fed9acdfe8eb2 /drivers/i2c/busses/i2c-designware-core.h | |
parent | 2fa8326b4b1e5fdc889b57b03b1313f3229cb438 (diff) | |
download | linux-e18563fc560aba0d95a5a73145812a081fb38fac.tar.xz |
i2c-designware: move controller config to bus specific portion of driver
With multiple I2C adapters possible in the system each running at
(possibly) different speeds we need to move the controller
configuration bit field to the adapter.
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 ab4e655a6c61..29386215fe3c 100644 --- a/drivers/i2c/busses/i2c-designware-core.h +++ b/drivers/i2c/busses/i2c-designware-core.h @@ -183,6 +183,7 @@ struct dw_i2c_dev { int swab; struct i2c_adapter adapter; u32 functionality; + u32 master_cfg; unsigned int tx_fifo_depth; unsigned int rx_fifo_depth; }; |