summaryrefslogtreecommitdiff
path: root/linux-core/drm_modes.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/drm_modes.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/drm_modes.c')
-rw-r--r--linux-core/drm_modes.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux-core/drm_modes.c b/linux-core/drm_modes.c
index 3763ca69..897777d0 100644
--- a/linux-core/drm_modes.c
+++ b/linux-core/drm_modes.c
@@ -43,8 +43,7 @@
*
* Describe @mode using DRM_DEBUG.
*/
-void drm_mode_debug_printmodeline(struct drm_device *dev,
- struct drm_display_mode *mode)
+void drm_mode_debug_printmodeline(struct drm_display_mode *mode)
{
DRM_DEBUG("Modeline %d:\"%s\" %d %d %d %d %d %d %d %d %d %d 0x%x 0x%x\n",
mode->mode_id, mode->name, mode->vrefresh, mode->clock,
@@ -388,7 +387,7 @@ void drm_mode_prune_invalid(struct drm_device *dev,
if (mode->status != MODE_OK) {
list_del(&mode->head);
if (verbose) {
- drm_mode_debug_printmodeline(dev, mode);
+ drm_mode_debug_printmodeline(mode);
DRM_DEBUG("Not using %s mode %d\n", mode->name, mode->status);
}
kfree(mode);