提交 9bca6266 编写于 作者: J Julia Lawall 提交者: Mauro Carvalho Chehab

[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: NJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 9c5e44a0
......@@ -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);
}
static struct ttusbdecfe_config fe_config = {
static const struct ttusbdecfe_config fe_config = {
.send_command = fe_send_command
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册