diff options
author | Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> | 2018-07-18 04:06:42 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-03 01:53:42 +0300 |
commit | 817dc4b579d897d3f645c11dc255f21642aa99df (patch) | |
tree | 742b8ac411f3037bf67864cdda2ff214a39b8278 /drivers/media/dvb-frontends/helene.h | |
parent | 299c7007e93645067e1d2743f4e50156de78c4ff (diff) | |
download | linux-817dc4b579d897d3f645c11dc255f21642aa99df.tar.xz |
media: helene: add I2C device probe function
This patch adds I2C probe function to use dvb_module_probe() with
this driver. And also support multiple delivery systems at the
same device.
Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends/helene.h')
-rw-r--r-- | drivers/media/dvb-frontends/helene.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/helene.h b/drivers/media/dvb-frontends/helene.h index c9fc81c7e4e7..8562d01bc93e 100644 --- a/drivers/media/dvb-frontends/helene.h +++ b/drivers/media/dvb-frontends/helene.h @@ -39,6 +39,7 @@ enum helene_xtal { * @set_tuner_callback: Callback function that notifies the parent driver * which tuner is active now * @xtal: Cristal frequency as described by &enum helene_xtal + * @fe: Frontend for which connects this tuner */ struct helene_config { u8 i2c_address; @@ -46,6 +47,8 @@ struct helene_config { void *set_tuner_priv; int (*set_tuner_callback)(void *, int); enum helene_xtal xtal; + + struct dvb_frontend *fe; }; #if IS_REACHABLE(CONFIG_DVB_HELENE) |