From: Hauke Mehrtens Date: Sun, 15 Jun 2014 12:42:31 +0000 (+0200) Subject: backports: add I2C_CLIENT_SCCB X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d1aa01322bd2d9b9fbef3364b10badd4ae8de96f;p=openwrt%2Fstaging%2Fblogic.git backports: add I2C_CLIENT_SCCB This is needed for some newly activated media driver. Signed-off-by: Hauke Mehrtens --- 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 */