aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/i830_drv.h
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2008-01-24 00:58:57 -0500
committerDave Airlie <airlied@redhat.com>2008-02-07 00:09:39 -0500
commit3e684eae586a9b210a4517da5637a255b1ff5a92 (patch)
treed8703d708e8fd37f0f1a74d9328e2da3faa555fc /drivers/char/drm/i830_drv.h
parent4d1f78880e9631fb08052dcc8e3341eecea537e0 (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 Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/i830_drv.h')
-rw-r--r--drivers/char/drm/i830_drv.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/drm/i830_drv.h b/drivers/char/drm/i830_drv.h
index 9843df831d7e..4caba8c54455 100644
--- a/drivers/char/drm/i830_drv.h
+++ b/drivers/char/drm/i830_drv.h
@@ -156,8 +156,7 @@ extern int i830_driver_device_is_agp(struct drm_device * dev);
156 156
157#define BEGIN_LP_RING(n) do { \ 157#define BEGIN_LP_RING(n) do { \
158 if (I830_VERBOSE) \ 158 if (I830_VERBOSE) \
159 printk("BEGIN_LP_RING(%d) in %s\n", \ 159 printk("BEGIN_LP_RING(%d)\n", (n)); \
160 n, __FUNCTION__); \
161 if (dev_priv->ring.space < n*4) \ 160 if (dev_priv->ring.space < n*4) \
162 i830_wait_ring(dev, n*4, __FUNCTION__); \ 161 i830_wait_ring(dev, n*4, __FUNCTION__); \
163 outcount = 0; \ 162 outcount = 0; \