summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/af9015.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2017-06-23 11:17:00 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-21 19:10:48 +0100
commit04c611e3168e03702350bccaf5f9e83fb8f489db (patch)
tree554c4d0ed68401fb7a16359234850b5103d665fb /drivers/media/usb/dvb-usb-v2/af9015.h
parentmedia: af9013: add i2c mux adapter for tuner bus (diff)
downloadlinux-04c611e3168e03702350bccaf5f9e83fb8f489db.tar.xz
linux-04c611e3168e03702350bccaf5f9e83fb8f489db.zip
media: af9015: attach demod using i2c binding
af9013 demod driver has i2c binding. Use it. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/af9015.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/af9015.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9015.h b/drivers/media/usb/dvb-usb-v2/af9015.h
index 3a9d9815ab7a..97339bf3749b 100644
--- a/drivers/media/usb/dvb-usb-v2/af9015.h
+++ b/drivers/media/usb/dvb-usb-v2/af9015.h
@@ -125,7 +125,9 @@ struct af9015_state {
u16 firmware_size;
u16 firmware_checksum;
u32 eeprom_sum;
- struct af9013_config af9013_config[2];
+ struct af9013_platform_data af9013_pdata[2];
+ struct i2c_client *demod_i2c_client[2];
+ u8 af9013_i2c_addr[2];
/* for demod callback override */
int (*set_frontend[2]) (struct dvb_frontend *fe);