drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create()
[deliverable/linux.git] / drivers / gpu / drm / ast / ast_drv.h
index 2e931eeba10569e201d75d9847d573e67b15ac5e..eb5715994ac26e7a2c0b5c4844ca55bdabee72bb 100644 (file)
@@ -308,7 +308,7 @@ extern void ast_mode_fini(struct drm_device *dev);
 
 int ast_framebuffer_init(struct drm_device *dev,
                         struct ast_framebuffer *ast_fb,
-                        struct drm_mode_fb_cmd2 *mode_cmd,
+                        const struct drm_mode_fb_cmd2 *mode_cmd,
                         struct drm_gem_object *obj);
 
 int ast_fbdev_init(struct drm_device *dev);
This page took 0.024118 seconds and 5 git commands to generate.