Re: [PATCH 03/12] [media] s5p-g2d: constify v4l2_m2m_ops structures

2017-08-07 Thread Sylwester Nawrocki
On 08/06/2017 10:25 AM, Julia Lawall wrote: The v4l2_m2m_ops structures are only passed as the only argument to v4l2_m2m_init, which is declared as const. Thus the v4l2_m2m_ops structures themselves can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall

Re: [PATCH 03/12] [media] s5p-g2d: constify v4l2_m2m_ops structures

2017-08-07 Thread Sylwester Nawrocki
On 08/06/2017 10:25 AM, Julia Lawall wrote: The v4l2_m2m_ops structures are only passed as the only argument to v4l2_m2m_init, which is declared as const. Thus the v4l2_m2m_ops structures themselves can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Reviewed-by: