diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 02:32:08 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 02:32:08 -0400 |
commit | cdd55a294c13f8bf05b2f4fee4c96934d5ebd2e4 (patch) | |
tree | b759df2c65f321d2bdd8ff338048a6f67417ca95 /drivers/char/drm/r128_cce.c | |
parent | 8fc2fdf4c9437576f38e97c2f5b700ec77038984 (diff) |
drm: detypef waitlist/freelist/buf_entry/device_dma/drm_queue structs
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/r128_cce.c')
-rw-r--r-- | drivers/char/drm/r128_cce.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/drm/r128_cce.c b/drivers/char/drm/r128_cce.c index 70ba703992ef..b163ed09bd81 100644 --- a/drivers/char/drm/r128_cce.c +++ b/drivers/char/drm/r128_cce.c | |||
@@ -771,7 +771,7 @@ int r128_fullscreen(DRM_IOCTL_ARGS) | |||
771 | #if 0 | 771 | #if 0 |
772 | static int r128_freelist_init(struct drm_device * dev) | 772 | static int r128_freelist_init(struct drm_device * dev) |
773 | { | 773 | { |
774 | drm_device_dma_t *dma = dev->dma; | 774 | struct drm_device_dma *dma = dev->dma; |
775 | drm_r128_private_t *dev_priv = dev->dev_private; | 775 | drm_r128_private_t *dev_priv = dev->dev_private; |
776 | struct drm_buf *buf; | 776 | struct drm_buf *buf; |
777 | drm_r128_buf_priv_t *buf_priv; | 777 | drm_r128_buf_priv_t *buf_priv; |
@@ -817,7 +817,7 @@ static int r128_freelist_init(struct drm_device * dev) | |||
817 | 817 | ||
818 | static struct drm_buf *r128_freelist_get(struct drm_device * dev) | 818 | static struct drm_buf *r128_freelist_get(struct drm_device * dev) |
819 | { | 819 | { |
820 | drm_device_dma_t *dma = dev->dma; | 820 | struct drm_device_dma *dma = dev->dma; |
821 | drm_r128_private_t *dev_priv = dev->dev_private; | 821 | drm_r128_private_t *dev_priv = dev->dev_private; |
822 | drm_r128_buf_priv_t *buf_priv; | 822 | drm_r128_buf_priv_t *buf_priv; |
823 | struct drm_buf *buf; | 823 | struct drm_buf *buf; |
@@ -855,7 +855,7 @@ static struct drm_buf *r128_freelist_get(struct drm_device * dev) | |||
855 | 855 | ||
856 | void r128_freelist_reset(struct drm_device * dev) | 856 | void r128_freelist_reset(struct drm_device * dev) |
857 | { | 857 | { |
858 | drm_device_dma_t *dma = dev->dma; | 858 | struct drm_device_dma *dma = dev->dma; |
859 | int i; | 859 | int i; |
860 | 860 | ||
861 | for (i = 0; i < dma->buf_count; i++) { | 861 | for (i = 0; i < dma->buf_count; i++) { |
@@ -913,7 +913,7 @@ static int r128_cce_get_buffers(DRMFILE filp, struct drm_device * dev, struct dr | |||
913 | int r128_cce_buffers(DRM_IOCTL_ARGS) | 913 | int r128_cce_buffers(DRM_IOCTL_ARGS) |
914 | { | 914 | { |
915 | DRM_DEVICE; | 915 | DRM_DEVICE; |
916 | drm_device_dma_t *dma = dev->dma; | 916 | struct drm_device_dma *dma = dev->dma; |
917 | int ret = 0; | 917 | int ret = 0; |
918 | struct drm_dma __user *argp = (void __user *)data; | 918 | struct drm_dma __user *argp = (void __user *)data; |
919 | struct drm_dma d; | 919 | struct drm_dma d; |