drm/imx: ipuv3-plane: Constify ipu_plane_funcs
authorLiu Ying <gnuiyl@gmail.com>
Tue, 24 May 2016 10:10:40 +0000 (18:10 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 30 May 2016 07:14:00 +0000 (09:14 +0200)
Signed-off-by: Liu Ying <gnuiyl@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c

index 8c24df7878846f8376d07249bd687d9cfcf19fec..aabbaf070e7530e0a6b21436c6deb85049112faf 100644 (file)
@@ -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,