Home
last modified time | relevance | path

Searched hist:fba3baa8d2be7b37748e0ed8345d2d3d6f17f9fd (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_plane.cdiff fba3baa8d2be7b37748e0ed8345d2d3d6f17f9fd Tue Aug 13 04:05:03 CDT 2019 Nishka Dasgupta <nishkadg.linux@gmail.com> drm/tilcdc: plane: Make structure tilcdc_plane_funcs constant

The static structure tilcdc_plane_funcs, of type drm_plane_funcs, is
used only when passed the fourth argument to drm_plane_init(); however,
this fourth parameter is declared as const in the function definition.
Hence make tilcdc_plane_funcs constant as well.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190813090503.9063-1-nishkadg.linux@gmail.com