]> Pileus Git - ~andy/linux/blobdiff - drivers/gpu/drm/nouveau/nv04_dfp.c
drm: Make the .mode_fixup() operations mode argument a const pointer
[~andy/linux] / drivers / gpu / drm / nouveau / nv04_dfp.c
index 2258746016f8e82919b23d2ac0897c8bb02a9da7..c2675623b7cdf16af4e70ff93f8d959c208cfb47 100644 (file)
@@ -179,7 +179,7 @@ static struct drm_encoder *get_tmds_slave(struct drm_encoder *encoder)
 }
 
 static bool nv04_dfp_mode_fixup(struct drm_encoder *encoder,
-                               struct drm_display_mode *mode,
+                               const struct drm_display_mode *mode,
                                struct drm_display_mode *adjusted_mode)
 {
        struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);