diff options
author | Antti Palosaari <crope@iki.fi> | 2014-12-02 16:55:17 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-01-27 15:55:36 +0300 |
commit | c2c8386f825bebd383d78263d6d4757abd21d182 (patch) | |
tree | fd476563efc58fbd353a73bbc58c7727b4457988 /drivers/media/dvb-frontends/rtl2832.h | |
parent | c97da15411bf87c432cc1ed91af70ad558d64835 (diff) | |
download | linux-c2c8386f825bebd383d78263d6d4757abd21d182.tar.xz |
[media] rtl2832: convert driver to I2C binding
Convert that driver to I2C driver model.
Legacy DVB binding is left also for later removal...
Tested-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2832.h')
-rw-r--r-- | drivers/media/dvb-frontends/rtl2832.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832.h b/drivers/media/dvb-frontends/rtl2832.h index 5254c1dfc8de..cfd69d8a9a81 100644 --- a/drivers/media/dvb-frontends/rtl2832.h +++ b/drivers/media/dvb-frontends/rtl2832.h @@ -50,6 +50,16 @@ struct rtl2832_config { u8 tuner; }; +struct rtl2832_platform_data { + const struct rtl2832_config *config; + + /* + * frontend + * returned by driver + */ + struct dvb_frontend **dvb_frontend; +}; + #if IS_ENABLED(CONFIG_DVB_RTL2832) struct dvb_frontend *rtl2832_attach( const struct rtl2832_config *cfg, |