aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/r300_cmdbuf.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-11 02:17:42 -0400
committerDave Airlie <airlied@linux.ie>2007-07-11 02:17:42 -0400
commit056219e2fa6664ec83bc258ebcf30f1a7919d423 (patch)
tree0c74c9fd648755cf3aa3a2ff7fd46024e137af1f /drivers/char/drm/r300_cmdbuf.c
parenteddca551a3e7be2fed54282f255f18efe9ead131 (diff)
drm: drop drm_buf_t typedef
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/r300_cmdbuf.c')
-rw-r--r--drivers/char/drm/r300_cmdbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/r300_cmdbuf.c b/drivers/char/drm/r300_cmdbuf.c
index 0035e199c320..f8456f93b793 100644
--- a/drivers/char/drm/r300_cmdbuf.c
+++ b/drivers/char/drm/r300_cmdbuf.c
@@ -706,7 +706,7 @@ static __inline__ void r300_pacify(drm_radeon_private_t *dev_priv)
706 * The actual age emit is done by r300_do_cp_cmdbuf, which is why you must 706 * The actual age emit is done by r300_do_cp_cmdbuf, which is why you must
707 * be careful about how this function is called. 707 * be careful about how this function is called.
708 */ 708 */
709static void r300_discard_buffer(struct drm_device * dev, drm_buf_t * buf) 709static void r300_discard_buffer(struct drm_device * dev, struct drm_buf * buf)
710{ 710{
711 drm_radeon_private_t *dev_priv = dev->dev_private; 711 drm_radeon_private_t *dev_priv = dev->dev_private;
712 drm_radeon_buf_priv_t *buf_priv = buf->dev_private; 712 drm_radeon_buf_priv_t *buf_priv = buf->dev_private;
@@ -786,7 +786,7 @@ int r300_do_cp_cmdbuf(struct drm_device *dev,
786{ 786{
787 drm_radeon_private_t *dev_priv = dev->dev_private; 787 drm_radeon_private_t *dev_priv = dev->dev_private;
788 drm_device_dma_t *dma = dev->dma; 788 drm_device_dma_t *dma = dev->dma;
789 drm_buf_t *buf = NULL; 789 struct drm_buf *buf = NULL;
790 int emit_dispatch_age = 0; 790 int emit_dispatch_age = 0;
791 int ret = 0; 791 int ret = 0;
792 792