summaryrefslogtreecommitdiff
path: root/linux-core/via_mm.c
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2008-01-03 16:56:04 +1000
committerDave Airlie <airlied@linux.ie>2008-01-03 16:56:04 +1000
commit9ab620d661253f9b08f683a2a6f9ddee002015bc (patch)
tree138a2d364ba535a598e1acc6ce69ae2c4e580408 /linux-core/via_mm.c
parent5e99b42b043e36a8db4a27522be27944a344715e (diff)
drm: cleanup DRM_DEBUG() parameters
As DRM_DEBUG macro already prints out the __FUNCTION__ string (see drivers/char/drm/drmP.h), it is not worth doing this again. At some other places the ending "\n" was added. airlied:- I cleaned up a few that this patch missed also
Diffstat (limited to 'linux-core/via_mm.c')
-rw-r--r--linux-core/via_mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/via_mm.c b/linux-core/via_mm.c
index 270eac15..3f75af38 100644
--- a/linux-core/via_mm.c
+++ b/linux-core/via_mm.c
@@ -53,7 +53,7 @@ int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv)
dev_priv->agp_offset = agp->offset;
mutex_unlock(&dev->struct_mutex);
- DRM_DEBUG("offset = %u, size = %u", agp->offset, agp->size);
+ DRM_DEBUG("offset = %u, size = %u\n", agp->offset, agp->size);
return 0;
}
@@ -77,7 +77,7 @@ int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv)
dev_priv->vram_offset = fb->offset;
mutex_unlock(&dev->struct_mutex);
- DRM_DEBUG("offset = %u, size = %u", fb->offset, fb->size);
+ DRM_DEBUG("offset = %u, size = %u\n", fb->offset, fb->size);
return 0;