From d1aa01322bd2d9b9fbef3364b10badd4ae8de96f Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 15 Jun 2014 14:42:31 +0200 Subject: [PATCH] backports: add I2C_CLIENT_SCCB This is needed for some newly activated media driver. Signed-off-by: Hauke Mehrtens --- backport/backport-include/linux/i2c.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backport/backport-include/linux/i2c.h b/backport/backport-include/linux/i2c.h index ffa902715d70..2350835a8ab6 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 */ -- 2.30.2