drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create()
[deliverable/linux.git] / drivers / gpu / drm / bochs / bochs_fbdev.c
index 09a0637aab3e7e7379efb6ca6aa40329b8f361ad..7520bf81fc253387c00c1621cfa0e885ae5e6940 100644 (file)
@@ -34,7 +34,7 @@ static struct fb_ops bochsfb_ops = {
 };
 
 static int bochsfb_create_object(struct bochs_device *bochs,
-                                struct drm_mode_fb_cmd2 *mode_cmd,
+                                const struct drm_mode_fb_cmd2 *mode_cmd,
                                 struct drm_gem_object **gobj_p)
 {
        struct drm_device *dev = bochs->dev;
This page took 0.02443 seconds and 5 git commands to generate.