drm: Make the .mode_fixup() operations mode argument a const pointer
[sfrench/cifs-2.6.git] / drivers / gpu / drm / nouveau / nv17_tv.c
index 696d7e7dc2a07facbfed838a637600ad5c15d880..67be5db021f5579c1e31cefe9feb802920e19c51 100644 (file)
@@ -338,7 +338,7 @@ static int nv17_tv_mode_valid(struct drm_encoder *encoder,
 }
 
 static bool nv17_tv_mode_fixup(struct drm_encoder *encoder,
-                              struct drm_display_mode *mode,
+                              const struct drm_display_mode *mode,
                               struct drm_display_mode *adjusted_mode)
 {
        struct nv17_tv_norm_params *tv_norm = get_tv_norm(encoder);