summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/af9035.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-08-26 17:14:16 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-21 17:48:23 -0300
commit3b2a5e8c080da37be6135f44d236fe6b796666d9 (patch)
tree7e299163b51e52afae4717eabc6fef86adfc41d8 /drivers/media/usb/dvb-usb-v2/af9035.h
parentc2ba9726c342d113bdc36cfd8e984e30498037c6 (diff)
downloadtalos-obmc-linux-3b2a5e8c080da37be6135f44d236fe6b796666d9.tar.gz
talos-obmc-linux-3b2a5e8c080da37be6135f44d236fe6b796666d9.zip
[media] it913x: convert to I2C driver
Change the it913x driver to use the I2C high lever tuner binding model. As af9035 depends on it, add a code there to do the binding. [mchehab@osg.samsung.com: Merge 3 patches into one, because we don't want to break bisect due to the conversion] Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/af9035.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/af9035.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9035.h b/drivers/media/usb/dvb-usb-v2/af9035.h
index 70ec9c9aeb54..0911c4fc860c 100644
--- a/drivers/media/usb/dvb-usb-v2/af9035.h
+++ b/drivers/media/usb/dvb-usb-v2/af9035.h
@@ -62,8 +62,9 @@ struct state {
u8 dual_mode:1;
u16 eeprom_addr;
struct af9033_config af9033_config[2];
-
struct af9033_ops ops;
+ #define AF9035_I2C_CLIENT_MAX 2
+ struct i2c_client *i2c_client[AF9035_I2C_CLIENT_MAX];
};
static const u32 clock_lut_af9035[] = {
OpenPOWER on IntegriCloud