summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-06-15 14:42:31 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2014-06-15 18:31:17 +0200
commitd1aa01322bd2d9b9fbef3364b10badd4ae8de96f (patch)
treef7e31ee298e113038b7c93675d838861dae93820
parent87e11587f114bed7fa2a83b6ef11076e25d6e473 (diff)
backports: add I2C_CLIENT_SCCB
This is needed for some newly activated media driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--backport/backport-include/linux/i2c.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/backport/backport-include/linux/i2c.h b/backport/backport-include/linux/i2c.h
index ffa90271..2350835a 100644
--- a/backport/backport-include/linux/i2c.h
+++ b/backport/backport-include/linux/i2c.h
@@ -38,4 +38,9 @@ extern int __i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
i2c_del_driver)
#endif
+#ifndef I2C_CLIENT_SCCB
+#define I2C_CLIENT_SCCB 0x9000 /* Use Omnivision SCCB protocol */
+ /* Must match I2C_M_STOP|IGNORE_NAK */
+#endif
+
#endif /* __BACKPORT_LINUX_I2C_H */