]> Pileus Git - ~andy/linux/blobdiff - drivers/gpu/drm/nouveau/nv04_dac.c
drm: Make the .mode_fixup() operations mode argument a const pointer
[~andy/linux] / drivers / gpu / drm / nouveau / nv04_dac.c
index 8300266ffaea2722ea5009510e70d211caf84a17..38f19479417c8948c3c684814fdacb9c645b1c8f 100644 (file)
@@ -332,7 +332,7 @@ nv17_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector)
 }
 
 static bool nv04_dac_mode_fixup(struct drm_encoder *encoder,
-                               struct drm_display_mode *mode,
+                               const struct drm_display_mode *mode,
                                struct drm_display_mode *adjusted_mode)
 {
        if (nv04_dac_in_use(encoder))