aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/stv090x_priv.h
diff options
context:
space:
mode:
authorGravatar Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> 2019-05-29 14:02:06 -0400
committerGravatar Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 2019-06-10 15:01:38 -0400
commiteb5005df886b3989dde5378064cc23315f769290 (patch)
tree5dffdcc2d2db09be585d510a54be084e4deff110 /drivers/media/dvb-frontends/stv090x_priv.h
parentmedia: stv6110x: Implement probe/remove for stv6110x (diff)
downloadlinux-eb5005df886b3989dde5378064cc23315f769290.tar.gz
linux-eb5005df886b3989dde5378064cc23315f769290.tar.bz2
linux-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.h2
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 */