Commit 4a40c73e authored by Julia Lawall's avatar Julia Lawall Committed by Mauro Carvalho Chehab

[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: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 40205163
...@@ -458,7 +458,7 @@ static void or51211_sleep(struct dvb_frontend * fe) ...@@ -458,7 +458,7 @@ static void or51211_sleep(struct dvb_frontend * fe)
bttv_write_gpio(bt->bttv_nr, 0x0001, 0x0000); bttv_write_gpio(bt->bttv_nr, 0x0001, 0x0000);
} }
static struct or51211_config or51211_config = { static const struct or51211_config or51211_config = {
.demod_address = 0x15, .demod_address = 0x15,
.request_firmware = or51211_request_firmware, .request_firmware = or51211_request_firmware,
.setmode = or51211_setmode, .setmode = or51211_setmode,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment