diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2016-01-03 13:27:53 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-01 10:58:47 +0100 |
commit | 64e423d4fb7d561131a2dcc91930c401ab6bc217 (patch) | |
tree | e17b388f6c75308b7715e24f61aa877c0a61d7af /drivers/media/pci/bt8xx/dvb-bt8xx.c | |
parent | [media] media: bt8xx: constify or51211_config structure (diff) | |
download | linux-64e423d4fb7d561131a2dcc91930c401ab6bc217.tar.xz 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/bt8xx/dvb-bt8xx.c')
-rw-r--r-- | drivers/media/pci/bt8xx/dvb-bt8xx.c | 2 |
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, }; |