Commit 04c611e3 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

media: af9015: attach demod using i2c binding

af9013 demod driver has i2c binding. Use it.
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 22e59e72
This diff is collapsed.
...@@ -125,7 +125,9 @@ struct af9015_state { ...@@ -125,7 +125,9 @@ struct af9015_state {
u16 firmware_size; u16 firmware_size;
u16 firmware_checksum; u16 firmware_checksum;
u32 eeprom_sum; 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 */ /* for demod callback override */
int (*set_frontend[2]) (struct dvb_frontend *fe); int (*set_frontend[2]) (struct dvb_frontend *fe);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment