summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb-v2/af9035.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-09-01 05:57:26 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-22 02:39:47 +0400
commita781edd16c9da9c3cd9ceea36c780895b87417d2 (patch)
tree6e1be9edac4f3907a960622594c2d7bf0d755655 /drivers/media/usb/dvb-usb-v2/af9035.h
parentee36381ee8cec66ff976ad2c91e85dbee4a02859 (diff)
downloadlinux-a781edd16c9da9c3cd9ceea36c780895b87417d2.tar.xz
[media] af9033: remove I2C addr from config
I2C driver address is passed as a i2c_new_device() parameter when device is created. Thus no need to keep it in config struct. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9035.h b/drivers/media/usb/dvb-usb-v2/af9035.h
index 21960773df05..edb3871c50ea 100644
--- a/drivers/media/usb/dvb-usb-v2/af9035.h
+++ b/drivers/media/usb/dvb-usb-v2/af9035.h
@@ -61,6 +61,7 @@ struct state {
u16 chip_type;
u8 dual_mode:1;
u16 eeprom_addr;
+ u8 af9033_i2c_addr[2];
struct af9033_config af9033_config[2];
struct af9033_ops ops;
#define AF9035_I2C_CLIENT_MAX 4