summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-designware-core.h
diff options
context:
space:
mode:
authorDirk Brandewie <dirk.brandewie@gmail.com>2011-10-06 22:26:32 +0400
committerBen Dooks <ben-linux@fluff.org>2011-10-29 14:03:50 +0400
commite18563fc560aba0d95a5a73145812a081fb38fac (patch)
treea244326e1d17deb93958bee1e10fed9acdfe8eb2 /drivers/i2c/busses/i2c-designware-core.h
parent2fa8326b4b1e5fdc889b57b03b1313f3229cb438 (diff)
downloadlinux-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.h1
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;
};