summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-designware-core.h
diff options
context:
space:
mode:
authorDirk Brandewie <dirk.brandewie@gmail.com>2011-10-06 18:26:31 (GMT)
committerBen Dooks <ben-linux@fluff.org>2011-10-29 10:03:50 (GMT)
commit2fa8326b4b1e5fdc889b57b03b1313f3229cb438 (patch)
treeaa76a229f4090ba1dc9e1ad7bb06666eb8ee62d5 /drivers/i2c/busses/i2c-designware-core.h
parent1d31b58f648c4f754b23fed4d57acc941080e5ee (diff)
downloadlinux-fsl-qoriq-2fa8326b4b1e5fdc889b57b03b1313f3229cb438.tar.xz
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 43de340..ab4e655 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;
};