[media] ttusb-dec: constify ttusbdecfe_config structure

The ttusbdecfe_config structure is never modified, so declare it
as const.

Other references to this structure type were already declared as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Julia Lawall 2015-11-13 12:55:18 -02:00 committed by Mauro Carvalho Chehab
parent 9c5e44a076
commit 9bca62661e
1 changed files with 1 additions and 1 deletions

View File

@ -1606,7 +1606,7 @@ static int fe_send_command(struct dvb_frontend* fe, const u8 command,
return ttusb_dec_send_command(dec, command, param_length, params, result_length, cmd_result); return ttusb_dec_send_command(dec, command, param_length, params, result_length, cmd_result);
} }
static struct ttusbdecfe_config fe_config = { static const struct ttusbdecfe_config fe_config = {
.send_command = fe_send_command .send_command = fe_send_command
}; };