aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/stv6110x_priv.h
diff options
context:
space:
mode:
authorGravatar Julia Lawall <Julia.Lawall@lip6.fr> 2015-12-06 13:34:26 -0200
committerGravatar Mauro Carvalho Chehab <mchehab@osg.samsung.com> 2016-02-01 07:31:17 -0200
commit242c5033508991221d787043b734740770c850be (patch)
tree8f1bd6cd33530c6f75313c436247f463180d7d2a /drivers/media/dvb-frontends/stv6110x_priv.h
parent[media] em28xx: add media controller support (diff)
downloadlinux-242c5033508991221d787043b734740770c850be.tar.gz
linux-242c5033508991221d787043b734740770c850be.tar.bz2
linux-242c5033508991221d787043b734740770c850be.zip
[media] constify stv6110x_devctl structure
The stv6110x_devctl structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/stv6110x_priv.h')
-rw-r--r--drivers/media/dvb-frontends/stv6110x_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/stv6110x_priv.h b/drivers/media/dvb-frontends/stv6110x_priv.h
index 0ec936a660a7..a993aba27b7e 100644
--- a/drivers/media/dvb-frontends/stv6110x_priv.h
+++ b/drivers/media/dvb-frontends/stv6110x_priv.h
@@ -70,7 +70,7 @@ struct stv6110x_state {
const struct stv6110x_config *config;
u8 regs[8];
- struct stv6110x_devctl *devctl;
+ const struct stv6110x_devctl *devctl;
};
#endif /* __STV6110x_PRIV_H */