diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-07 09:04:45 +0900 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-05-19 22:50:53 +0900 |
commit | f3aaf7624463721af27f13cc083916c54ffbee70 (patch) | |
tree | 5907f88717db22649f09316d0438e2f611c8977f /drivers/gpu/drm/exynos/exynos_drm_vidi.c | |
parent | 48107d7b0db180155b19b2cf083517014289a079 (diff) | |
download | lwn-f3aaf7624463721af27f13cc083916c54ffbee70.tar.gz lwn-f3aaf7624463721af27f13cc083916c54ffbee70.zip |
drm/exynos: Constify exynos_drm_crtc_ops
The Exynos DRM code does not modify the ops provided by CRTC driver in
exynos_drm_crtc_create() call.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_vidi.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c index 27e84ec21694..1b3479a8db5f 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c @@ -217,7 +217,7 @@ static int vidi_ctx_initialize(struct vidi_context *ctx, return 0; } -static struct exynos_drm_crtc_ops vidi_crtc_ops = { +static const struct exynos_drm_crtc_ops vidi_crtc_ops = { .dpms = vidi_dpms, .enable_vblank = vidi_enable_vblank, .disable_vblank = vidi_disable_vblank, |