summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-08-03 22:43:26 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-21 19:57:56 -0300
commit3ab779c0399276c82a6a64610e7c9c4d5bb267f2 (patch)
tree4500a36e90fb92f423bb1aa8fec0069d853b9dae /drivers/media/tuners
parent2db4d179e16d0fcc1ece25798a8e140fa4f9c18a (diff)
downloadblackbird-op-linux-3ab779c0399276c82a6a64610e7c9c4d5bb267f2.tar.gz
blackbird-op-linux-3ab779c0399276c82a6a64610e7c9c4d5bb267f2.zip
[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: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners')
-rw-r--r--drivers/media/tuners/tda18212.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/tuners/tda18212.h b/drivers/media/tuners/tda18212.h
index c36b49e4b274..265559a4306d 100644
--- a/drivers/media/tuners/tda18212.h
+++ b/drivers/media/tuners/tda18212.h
@@ -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)
OpenPOWER on IntegriCloud