diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-12-06 16:34:26 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-01 10:31:17 +0100 |
commit | 242c5033508991221d787043b734740770c850be (patch) | |
tree | 8f1bd6cd33530c6f75313c436247f463180d7d2a /drivers/media/usb/dvb-usb/technisat-usb2.c | |
parent | [media] em28xx: add media controller support (diff) | |
download | linux-242c5033508991221d787043b734740770c850be.tar.xz 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/usb/dvb-usb/technisat-usb2.c')
-rw-r--r-- | drivers/media/usb/dvb-usb/technisat-usb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb/technisat-usb2.c b/drivers/media/usb/dvb-usb/technisat-usb2.c index 6c3c47722955..51487d2f7764 100644 --- a/drivers/media/usb/dvb-usb/technisat-usb2.c +++ b/drivers/media/usb/dvb-usb/technisat-usb2.c @@ -512,7 +512,7 @@ static int technisat_usb2_frontend_attach(struct dvb_usb_adapter *a) &a->dev->i2c_adap, STV090x_DEMODULATOR_0); if (a->fe_adap[0].fe) { - struct stv6110x_devctl *ctl; + const struct stv6110x_devctl *ctl; ctl = dvb_attach(stv6110x_attach, a->fe_adap[0].fe, |