Re: [PATCH] [media] i2c: constify v4l2_ctrl_ops structures

2015-11-16 Thread Laurent Pinchart
Hi Julia, Thank you for the patch. On Friday 13 November 2015 23:05:17 Julia Lawall wrote: > These v4l2_ctrl_ops structures are never modified, like all the other > v4l2_ctrl_ops structures, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-

Re: [PATCH] [media] i2c: constify v4l2_ctrl_ops structures

2015-11-16 Thread Lad, Prabhakar
On Fri, Nov 13, 2015 at 10:05 PM, Julia Lawall wrote: > These v4l2_ctrl_ops structures are never modified, like all the other > v4l2_ctrl_ops structures, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall > Acked-by: Lad, Prabhakar Cheers, --Prabhak

[PATCH] [media] i2c: constify v4l2_ctrl_ops structures

2015-11-13 Thread Julia Lawall
These v4l2_ctrl_ops structures are never modified, like all the other v4l2_ctrl_ops structures, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/i2c/mt9m032.c |2 +- drivers/media/i2c/mt9p031.c |2 +- drivers/media/i2c/mt9t001.c