diff options
author | Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> | 2019-05-29 12:56:33 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-10 14:59:04 -0400 |
commit | 3c8f4cd271c486844e8eccebaf6714d913180ecc (patch) | |
tree | b51e13bbf859e081bc59c6037ccc02d0f309a62d /drivers/media/dvb-frontends/stv6110x.h | |
parent | 2659417876d58d58ec53a586d174f4fa18cc5352 (diff) | |
download | linux-stable-3c8f4cd271c486844e8eccebaf6714d913180ecc.tar.gz linux-stable-3c8f4cd271c486844e8eccebaf6714d913180ecc.tar.bz2 linux-stable-3c8f4cd271c486844e8eccebaf6714d913180ecc.zip |
media: stv6110x: Implement probe/remove for stv6110x
Refactor out the common parts of stv6110x_probe() and stv6110x_attach()
into separate functions.
This provides the needed functionality to use dvb_module_probe() instead
of dvb_attach()!
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends/stv6110x.h')
-rw-r--r-- | drivers/media/dvb-frontends/stv6110x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/stv6110x.h b/drivers/media/dvb-frontends/stv6110x.h index 1630e55255fd..1feade3158c2 100644 --- a/drivers/media/dvb-frontends/stv6110x.h +++ b/drivers/media/dvb-frontends/stv6110x.h @@ -15,6 +15,9 @@ struct stv6110x_config { u8 addr; u32 refclk; u8 clk_div; /* divisor value for the output clock */ + struct dvb_frontend *frontend; + + struct stv6110x_devctl* (*get_devctl)(struct i2c_client *i2c); }; enum tuner_mode { |