From 3ab779c0399276c82a6a64610e7c9c4d5bb267f2 Mon Sep 17 00:00:00 2001 From: Antti Palosaari Date: Sun, 3 Aug 2014 22:43:26 -0300 Subject: [PATCH] [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 Signed-off-by: Mauro Carvalho Chehab --- drivers/media/tuners/tda18212.h | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.30.2