summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2016-01-03 10:27:53 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-01 07:58:47 -0200
commit64e423d4fb7d561131a2dcc91930c401ab6bc217 (patch)
treee17b388f6c75308b7715e24f61aa877c0a61d7af /drivers/media/pci
parent4a40c73e5b27910edafe000fcc50a905de13447f (diff)
downloadtalos-obmc-linux-64e423d4fb7d561131a2dcc91930c401ab6bc217.tar.gz
talos-obmc-linux-64e423d4fb7d561131a2dcc91930c401ab6bc217.zip
[media] media: bt8xx: constify sp887x_config structure
This sp887x_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 8aeb14cfb89c..e69d338ab9be 100644
--- a/drivers/media/pci/bt8xx/dvb-bt8xx.c
+++ b/drivers/media/pci/bt8xx/dvb-bt8xx.c
@@ -318,7 +318,7 @@ static int microtune_mt7202dtf_request_firmware(struct dvb_frontend* fe, const s
return request_firmware(fw, name, &bt->bt->dev->dev);
}
-static struct sp887x_config microtune_mt7202dtf_config = {
+static const struct sp887x_config microtune_mt7202dtf_config = {
.demod_address = 0x70,
.request_firmware = microtune_mt7202dtf_request_firmware,
};
OpenPOWER on IntegriCloud