[media] drivers/media/usb/as102: constify as102_priv_ops_t structure

The as102_priv_ops_t 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>
Esse commit está contido em:
Julia Lawall
2015-12-06 13:51:38 -02:00
commit de Mauro Carvalho Chehab
commit f691ba9864
2 arquivos alterados com 2 adições e 2 exclusões

Ver arquivo

@@ -52,7 +52,7 @@ struct as10x_bus_adapter_t {
struct as10x_cmd_t *cmd, *rsp;
/* bus adapter private ops callback */
struct as102_priv_ops_t *ops;
const struct as102_priv_ops_t *ops;
};
struct as102_dev_t {