drm/sti: Constify function pointer structs
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / sti / sti_drv.c
index f8469967a0bfbb43dcf5faee539ac9b5d5b5f328..f3c22ded4b74ba9a1f9ccde32d51bb621159fabd 100644 (file)
@@ -107,7 +107,7 @@ static int sti_atomic_commit(struct drm_device *drm,
        return 0;
 }
 
-static struct drm_mode_config_funcs sti_mode_config_funcs = {
+static const struct drm_mode_config_funcs sti_mode_config_funcs = {
        .fb_create = drm_fb_cma_create,
        .atomic_check = drm_atomic_helper_check,
        .atomic_commit = sti_atomic_commit,