diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:53:27 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 01:53:27 -0400 |
commit | 84b1fd103dbbe01b5905db1444d3fc8afa9a7207 (patch) | |
tree | 2088f4c8e68553e2d4f5d55fa7a714eb3fa09f9e /drivers/char/drm/r300_cmdbuf.c | |
parent | c60ce623bd16137627009d05e311d877729f2ad6 (diff) |
drm: remove drm_file_t, drm_device_t and drm_head_t typedefs
some drivers still todo.
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/r300_cmdbuf.c b/drivers/char/drm/r300_cmdbuf.c index 4a517cc133b7..0035e199c320 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 | */ |
709 | static void r300_discard_buffer(drm_device_t * dev, drm_buf_t * buf) | 709 | static void r300_discard_buffer(struct drm_device * dev, drm_buf_t * 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; |
@@ -779,9 +779,9 @@ static int r300_scratch(drm_radeon_private_t *dev_priv, | |||
779 | * commands on the DMA ring buffer. | 779 | * commands on the DMA ring buffer. |
780 | * Called by the ioctl handler function radeon_cp_cmdbuf. | 780 | * Called by the ioctl handler function radeon_cp_cmdbuf. |
781 | */ | 781 | */ |
782 | int r300_do_cp_cmdbuf(drm_device_t *dev, | 782 | int r300_do_cp_cmdbuf(struct drm_device *dev, |
783 | DRMFILE filp, | 783 | DRMFILE filp, |
784 | drm_file_t *filp_priv, | 784 | struct drm_file *filp_priv, |
785 | drm_radeon_kcmd_buffer_t *cmdbuf) | 785 | drm_radeon_kcmd_buffer_t *cmdbuf) |
786 | { | 786 | { |
787 | drm_radeon_private_t *dev_priv = dev->dev_private; | 787 | drm_radeon_private_t *dev_priv = dev->dev_private; |