diff options
author | Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> | 2019-05-29 14:02:06 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-10 15:01:38 -0400 |
commit | eb5005df886b3989dde5378064cc23315f769290 (patch) | |
tree | 5dffdcc2d2db09be585d510a54be084e4deff110 /drivers/media/dvb-frontends/stv090x_priv.h | |
parent | 3c8f4cd271c486844e8eccebaf6714d913180ecc (diff) | |
download | linux-stable-eb5005df886b3989dde5378064cc23315f769290.tar.gz linux-stable-eb5005df886b3989dde5378064cc23315f769290.tar.bz2 linux-stable-eb5005df886b3989dde5378064cc23315f769290.zip |
media: stv090x: Implement probe/remove for stv090x
Move common code into a new function.
This provides the needed functionality to use dvb_module_probe() instead
of dvb_attach()!
[mchehab+samsung@kernel.org: fix an out of order error return code]
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/stv090x_priv.h')
-rw-r--r-- | drivers/media/dvb-frontends/stv090x_priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/stv090x_priv.h b/drivers/media/dvb-frontends/stv090x_priv.h index b22c58968c93..f8ece898c153 100644 --- a/drivers/media/dvb-frontends/stv090x_priv.h +++ b/drivers/media/dvb-frontends/stv090x_priv.h @@ -237,7 +237,7 @@ struct stv090x_state { struct stv090x_internal *internal; struct i2c_adapter *i2c; - const struct stv090x_config *config; + struct stv090x_config *config; struct dvb_frontend frontend; u32 *verbose; /* Cached module verbosity */ |