Commit 3ab779c0 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] tda18212: prepare for I2C client conversion

We need carry pointer to frontend via config struct
(I2C platform_data ptr) when I2C model is used. Add that pointer
first in order to keep build unbreakable during conversion.
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 2db4d179
...@@ -37,6 +37,11 @@ struct tda18212_config { ...@@ -37,6 +37,11 @@ struct tda18212_config {
u16 if_dvbc; u16 if_dvbc;
u16 if_atsc_vsb; u16 if_atsc_vsb;
u16 if_atsc_qam; u16 if_atsc_qam;
/*
* pointer to DVB frontend
*/
struct dvb_frontend *fe;
}; };
#if IS_ENABLED(CONFIG_MEDIA_TUNER_TDA18212) #if IS_ENABLED(CONFIG_MEDIA_TUNER_TDA18212)
......
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