summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorLiu Ying <gnuiyl@gmail.com>2016-05-24 12:10:40 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-05-30 09:14:00 +0200
commit8b3ce87377dfd462c7300a1e8aa8c2c1966716c7 (patch)
treea017402e6cb245f9f0f5736c867d3fe25a0b25f3 /drivers/gpu
parentdrm/imx: imx-ldb: honor 'native-mode' property when selecting video mode from DT (diff)
downloadlinux-8b3ce87377dfd462c7300a1e8aa8c2c1966716c7.tar.xz
linux-8b3ce87377dfd462c7300a1e8aa8c2c1966716c7.zip
drm/imx: ipuv3-plane: Constify ipu_plane_funcs
Signed-off-by: Liu Ying <gnuiyl@gmail.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/imx/ipuv3-plane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c
index 8c24df787884..aabbaf070e75 100644
--- a/drivers/gpu/drm/imx/ipuv3-plane.c
+++ b/drivers/gpu/drm/imx/ipuv3-plane.c
@@ -463,7 +463,7 @@ static void ipu_plane_destroy(struct drm_plane *plane)
kfree(ipu_plane);
}
-static struct drm_plane_funcs ipu_plane_funcs = {
+static const struct drm_plane_funcs ipu_plane_funcs = {
.update_plane = ipu_update_plane,
.disable_plane = ipu_disable_plane,
.destroy = ipu_plane_destroy,