aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/helene.h
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>2018-07-17 21:06:42 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-02 18:53:42 -0400
commit817dc4b579d897d3f645c11dc255f21642aa99df (patch)
tree742b8ac411f3037bf67864cdda2ff214a39b8278 /drivers/media/dvb-frontends/helene.h
parentmedia: dw2102: Fix memleak on sequence of probes (diff)
downloadlinux-dev-817dc4b579d897d3f645c11dc255f21642aa99df.tar.xz
linux-dev-817dc4b579d897d3f645c11dc255f21642aa99df.zip
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.h3
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)