Skip to content

Commit

Permalink
drm/i915: constify mode in crtc_mode_fixup
Browse files Browse the repository at this point in the history
Laurent Pinchart missed this when sending in is giant constify patch:

commit e811f5a
Author: Laurent Pinchart <[email protected]>
Date:   Tue Jul 17 17:56:50 2012 +0200

    drm: Make the .mode_fixup() operations mode argument a const pointer

Acked-by; Laurent Pinchart <[email protected]>
Signed-Off-by: Daniel Vetter <[email protected]>
  • Loading branch information
danvet committed Jul 25, 2012
1 parent 520c41c commit 35313cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -3573,7 +3573,7 @@ void intel_encoder_destroy(struct drm_encoder *encoder)
}

static bool intel_crtc_mode_fixup(struct drm_crtc *crtc,
struct drm_display_mode *mode,
const struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{
struct drm_device *dev = crtc->dev;
Expand Down

0 comments on commit 35313cd

Please sign in to comment.