summaryrefslogtreecommitdiff
path: root/linux-core/radeon_ms_fb.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@jbarnes-t61.(none)>2008-05-23 18:41:58 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-05-23 18:41:58 -0700
commitb4d8cda8e6d6ea319ab7c471d6d68b8af8693cfe (patch)
treeb85c1f91cbcb1c38ea61aac7526452cea9f826da /linux-core/radeon_ms_fb.c
parent1cde3cc1ac467eb0527ed55127cf3bb983afde80 (diff)
drm_mode_debug_printmodeline doesn't need struct drm_device *
Makes printing modelines from some routines easier.
Diffstat (limited to 'linux-core/radeon_ms_fb.c')
-rw-r--r--linux-core/radeon_ms_fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-core/radeon_ms_fb.c b/linux-core/radeon_ms_fb.c
index 082279ec..e320144e 100644
--- a/linux-core/radeon_ms_fb.c
+++ b/linux-core/radeon_ms_fb.c
@@ -221,9 +221,9 @@ static int radeonfb_set_par(struct fb_info *info)
break;
}
- drm_mode_debug_printmodeline(dev, drm_mode);
+ drm_mode_debug_printmodeline(drm_mode);
list_for_each_entry(search_mode, &output->modes, head) {
- drm_mode_debug_printmodeline(dev, search_mode);
+ drm_mode_debug_printmodeline(search_mode);
if (radeonfb_mode_equal(drm_mode, search_mode)) {
drm_mode_destroy(dev, drm_mode);
drm_mode = search_mode;
@@ -237,7 +237,7 @@ static int radeonfb_set_par(struct fb_info *info)
drm_mode_detachmode_crtc(dev, par->fb_mode);
}
par->fb_mode = drm_mode;
- drm_mode_debug_printmodeline(dev, drm_mode);
+ drm_mode_debug_printmodeline(drm_mode);
/* attach mode */
drm_mode_attachmode_crtc(dev, par->crtc, par->fb_mode);
}