[media] tda18212: prepare for I2C client conversion
authorAntti Palosaari <crope@iki.fi>
Mon, 4 Aug 2014 01:43:26 +0000 (22:43 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 22:57:56 +0000 (19:57 -0300)
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: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/tda18212.h

index c36b49e..265559a 100644 (file)
@@ -37,6 +37,11 @@ struct tda18212_config {
        u16 if_dvbc;
        u16 if_atsc_vsb;
        u16 if_atsc_qam;
+
+       /*
+        * pointer to DVB frontend
+        */
+       struct dvb_frontend *fe;
 };
 
 #if IS_ENABLED(CONFIG_MEDIA_TUNER_TDA18212)