summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorJulia Lawall2016-01-03 13:19:52 +0100
committerMauro Carvalho Chehab2016-02-01 10:58:26 +0100
commit4a40c73e5b27910edafe000fcc50a905de13447f (patch)
tree9a37d90da15fe899d1f5f21dba6e65c4b10b1c8b /drivers/media/pci
parent[media] drivers/media/usb/dvb-usb-v2: constify mxl111sf_tuner_config structure (diff)
downloadkernel-qcow2-linux-4a40c73e5b27910edafe000fcc50a905de13447f.tar.gz
kernel-qcow2-linux-4a40c73e5b27910edafe000fcc50a905de13447f.tar.xz
kernel-qcow2-linux-4a40c73e5b27910edafe000fcc50a905de13447f.zip
[media] media: bt8xx: constify or51211_config structure
The or51211_config 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/pci')
-rw-r--r--drivers/media/pci/bt8xx/dvb-bt8xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/bt8xx/dvb-bt8xx.c b/drivers/media/pci/bt8xx/dvb-bt8xx.c
index d407244fd1bc..8aeb14cfb89c 100644
--- a/drivers/media/pci/bt8xx/dvb-bt8xx.c
+++ b/drivers/media/pci/bt8xx/dvb-bt8xx.c
@@ -458,7 +458,7 @@ static void or51211_sleep(struct dvb_frontend * fe)
bttv_write_gpio(bt->bttv_nr, 0x0001, 0x0000);
}
-static struct or51211_config or51211_config = {
+static const struct or51211_config or51211_config = {
.demod_address = 0x15,
.request_firmware = or51211_request_firmware,
.setmode = or51211_setmode,