drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create()
[deliverable/linux.git] / include / drm / drm_fb_cma_helper.h
index c54cf3d4a03f0f744e83dbe93a7534620764a6f6..be62bd321e759a13b16441a00ebd877cd820b6b6 100644 (file)
@@ -18,7 +18,7 @@ void drm_fbdev_cma_restore_mode(struct drm_fbdev_cma *fbdev_cma);
 void drm_fbdev_cma_hotplug_event(struct drm_fbdev_cma *fbdev_cma);
 
 struct drm_framebuffer *drm_fb_cma_create(struct drm_device *dev,
-       struct drm_file *file_priv, struct drm_mode_fb_cmd2 *mode_cmd);
+       struct drm_file *file_priv, const struct drm_mode_fb_cmd2 *mode_cmd);
 
 struct drm_gem_cma_object *drm_fb_cma_get_gem_obj(struct drm_framebuffer *fb,
        unsigned int plane);
This page took 0.032718 seconds and 5 git commands to generate.