aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/i2c/busses/i2c-designware-core.h
diff options
context:
space:
mode:
authorDirk Brandewie <dirk.brandewie@gmail.com>2011-10-06 11:26:31 -0700
committerBen Dooks <ben-linux@fluff.org>2011-10-29 11:03:50 +0100
commit2fa8326b4b1e5fdc889b57b03b1313f3229cb438 (patch)
treeaa76a229f4090ba1dc9e1ad7bb06666eb8ee62d5 /drivers/i2c/busses/i2c-designware-core.h
parenti2c-designware: Move retriveving the clock speed out of core code. (diff)
downloadwireguard-linux-2fa8326b4b1e5fdc889b57b03b1313f3229cb438.tar.xz
wireguard-linux-2fa8326b4b1e5fdc889b57b03b1313f3229cb438.zip
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.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 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 {
int irq;
int swab;
struct i2c_adapter adapter;
+ u32 functionality;
unsigned int tx_fifo_depth;
unsigned int rx_fifo_depth;
};