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

From: Sylwester Nawrocki
Date: Mon Aug 07 2017 - 06:23:50 EST


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 <Julia.Lawall@xxxxxxx>

Reviewed-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>