summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-algo-bit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/i2c-algo-bit.h')
-rw-r--r--include/linux/i2c-algo-bit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/i2c-algo-bit.h b/include/linux/i2c-algo-bit.h
index 111334f5b922..4f98148c11c3 100644
--- a/include/linux/i2c-algo-bit.h
+++ b/include/linux/i2c-algo-bit.h
@@ -36,6 +36,8 @@ struct i2c_algo_bit_data {
void (*setscl) (void *data, int state);
int (*getsda) (void *data);
int (*getscl) (void *data);
+ int (*pre_xfer) (struct i2c_adapter *);
+ void (*post_xfer) (struct i2c_adapter *);
/* local settings */
int udelay; /* half clock cycle time in us,
OpenPOWER on IntegriCloud