diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-11-13 09:55:18 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-11-19 08:22:15 -0500 |
commit | 9bca62661eac95702ed0118c578b079fa76e4a63 (patch) | |
tree | ef7ac5c7ab1648b4ac1c6472b83efe45021742ab | |
parent | 9c5e44a0762beee013213593ab2bc511bd46f366 (diff) |
[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>
-rw-r--r-- | drivers/media/usb/ttusb-dec/ttusb_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/ttusb-dec/ttusb_dec.c b/drivers/media/usb/ttusb-dec/ttusb_dec.c index a5de46f04247..4e36e24cb3a6 100644 --- a/drivers/media/usb/ttusb-dec/ttusb_dec.c +++ b/drivers/media/usb/ttusb-dec/ttusb_dec.c | |||
@@ -1606,7 +1606,7 @@ static int fe_send_command(struct dvb_frontend* fe, const u8 command, | |||
1606 | return ttusb_dec_send_command(dec, command, param_length, params, result_length, cmd_result); | 1606 | return ttusb_dec_send_command(dec, command, param_length, params, result_length, cmd_result); |
1607 | } | 1607 | } |
1608 | 1608 | ||
1609 | static struct ttusbdecfe_config fe_config = { | 1609 | static const struct ttusbdecfe_config fe_config = { |
1610 | .send_command = fe_send_command | 1610 | .send_command = fe_send_command |
1611 | }; | 1611 | }; |
1612 | 1612 | ||