diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-07-20 04:30:45 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-07-25 04:39:59 -0400 |
commit | 35313cde4c582f3581a4b8397311f302680625f5 (patch) | |
tree | d3e3562877b084b9c0464f250fcb2e6437a2d262 /drivers/gpu/drm | |
parent | 520c41cf2fa029d1e8b923ac2026f96664f17c4b (diff) |
drm/i915: constify mode in crtc_mode_fixup
Laurent Pinchart missed this when sending in is giant constify patch:
commit e811f5ae19043b2ac2c28e147a4274038e655598
Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Tue Jul 17 17:56:50 2012 +0200
drm: Make the .mode_fixup() operations mode argument a const pointer
Acked-by; Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index c9b69e3b2c29..e9e476eca89f 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -3573,7 +3573,7 @@ void intel_encoder_destroy(struct drm_encoder *encoder) | |||
3573 | } | 3573 | } |
3574 | 3574 | ||
3575 | static bool intel_crtc_mode_fixup(struct drm_crtc *crtc, | 3575 | static bool intel_crtc_mode_fixup(struct drm_crtc *crtc, |
3576 | struct drm_display_mode *mode, | 3576 | const struct drm_display_mode *mode, |
3577 | struct drm_display_mode *adjusted_mode) | 3577 | struct drm_display_mode *adjusted_mode) |
3578 | { | 3578 | { |
3579 | struct drm_device *dev = crtc->dev; | 3579 | struct drm_device *dev = crtc->dev; |