[PATCH] drm/exynos: constify exynos_drm_crtc_ops structures

2017-01-10 Thread Daniel Vetter
On Mon, Jan 09, 2017 at 11:24:53PM +0530, Bhumika Goyal wrote: > Declare exynos_drm_crtc_ops structures as const as they are only passed > as an argument to the function exynos_drm_crtc_create. This argument is > of type const struct exynos_drm_crtc_ops *, so exynos_drm_crtc_ops > structures having

[PATCH] drm/exynos: constify exynos_drm_crtc_ops structures

2017-01-09 Thread Bhumika Goyal
Declare exynos_drm_crtc_ops structures as const as they are only passed as an argument to the function exynos_drm_crtc_create. This argument is of type const struct exynos_drm_crtc_ops *, so exynos_drm_crtc_ops structures having this property can be declared const. Done using Coccinelle: @r disabl