diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-01-24 06:47:48 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-01-24 06:47:48 -0500 |
commit | befddb21c845f8fb49e637997891ef97c6a869dc (patch) | |
tree | 0e7629123184f2dd50291ad6d477b894175f0f26 /drivers/gpu/drm/drm_modes.c | |
parent | e716efde75267eab919cdb2bef5b2cb77f305326 (diff) | |
parent | 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619 (diff) |
Merge tag 'v3.8-rc4' into irq/core
Merge Linux 3.8-rc4 before pulling in new commits - we were on an old v3.7 base.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/drm_modes.c')
-rw-r--r-- | drivers/gpu/drm/drm_modes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index 59450f39bf96..d8da30e90db5 100644 --- a/drivers/gpu/drm/drm_modes.c +++ b/drivers/gpu/drm/drm_modes.c | |||
@@ -46,7 +46,7 @@ | |||
46 | * | 46 | * |
47 | * Describe @mode using DRM_DEBUG. | 47 | * Describe @mode using DRM_DEBUG. |
48 | */ | 48 | */ |
49 | void drm_mode_debug_printmodeline(struct drm_display_mode *mode) | 49 | void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) |
50 | { | 50 | { |
51 | DRM_DEBUG_KMS("Modeline %d:\"%s\" %d %d %d %d %d %d %d %d %d %d " | 51 | DRM_DEBUG_KMS("Modeline %d:\"%s\" %d %d %d %d %d %d %d %d %d %d " |
52 | "0x%x 0x%x\n", | 52 | "0x%x 0x%x\n", |
@@ -558,7 +558,7 @@ EXPORT_SYMBOL(drm_mode_list_concat); | |||
558 | * RETURNS: | 558 | * RETURNS: |
559 | * @mode->hdisplay | 559 | * @mode->hdisplay |
560 | */ | 560 | */ |
561 | int drm_mode_width(struct drm_display_mode *mode) | 561 | int drm_mode_width(const struct drm_display_mode *mode) |
562 | { | 562 | { |
563 | return mode->hdisplay; | 563 | return mode->hdisplay; |
564 | 564 | ||
@@ -579,7 +579,7 @@ EXPORT_SYMBOL(drm_mode_width); | |||
579 | * RETURNS: | 579 | * RETURNS: |
580 | * @mode->vdisplay | 580 | * @mode->vdisplay |
581 | */ | 581 | */ |
582 | int drm_mode_height(struct drm_display_mode *mode) | 582 | int drm_mode_height(const struct drm_display_mode *mode) |
583 | { | 583 | { |
584 | return mode->vdisplay; | 584 | return mode->vdisplay; |
585 | } | 585 | } |
@@ -768,7 +768,7 @@ EXPORT_SYMBOL(drm_mode_duplicate); | |||
768 | * RETURNS: | 768 | * RETURNS: |
769 | * True if the modes are equal, false otherwise. | 769 | * True if the modes are equal, false otherwise. |
770 | */ | 770 | */ |
771 | bool drm_mode_equal(struct drm_display_mode *mode1, struct drm_display_mode *mode2) | 771 | bool drm_mode_equal(const struct drm_display_mode *mode1, const struct drm_display_mode *mode2) |
772 | { | 772 | { |
773 | /* do clock check convert to PICOS so fb modes get matched | 773 | /* do clock check convert to PICOS so fb modes get matched |
774 | * the same */ | 774 | * the same */ |