aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/mga_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-11 02:32:08 -0400
committerDave Airlie <airlied@linux.ie>2007-07-11 02:32:08 -0400
commitcdd55a294c13f8bf05b2f4fee4c96934d5ebd2e4 (patch)
treeb759df2c65f321d2bdd8ff338048a6f67417ca95 /drivers/char/drm/mga_dma.c
parent8fc2fdf4c9437576f38e97c2f5b700ec77038984 (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/mga_dma.c')
-rw-r--r--drivers/char/drm/mga_dma.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/mga_dma.c b/drivers/char/drm/mga_dma.c
index b5d41dcb29e7..38878d338d38 100644
--- a/drivers/char/drm/mga_dma.c
+++ b/drivers/char/drm/mga_dma.c
@@ -247,7 +247,7 @@ static void mga_freelist_print(struct drm_device * dev)
247 247
248static int mga_freelist_init(struct drm_device * dev, drm_mga_private_t * dev_priv) 248static int mga_freelist_init(struct drm_device * dev, drm_mga_private_t * dev_priv)
249{ 249{
250 drm_device_dma_t *dma = dev->dma; 250 struct drm_device_dma *dma = dev->dma;
251 struct drm_buf *buf; 251 struct drm_buf *buf;
252 drm_mga_buf_priv_t *buf_priv; 252 drm_mga_buf_priv_t *buf_priv;
253 drm_mga_freelist_t *entry; 253 drm_mga_freelist_t *entry;
@@ -313,7 +313,7 @@ static void mga_freelist_cleanup(struct drm_device * dev)
313 */ 313 */
314static void mga_freelist_reset(struct drm_device * dev) 314static void mga_freelist_reset(struct drm_device * dev)
315{ 315{
316 drm_device_dma_t *dma = dev->dma; 316 struct drm_device_dma *dma = dev->dma;
317 struct drm_buf *buf; 317 struct drm_buf *buf;
318 drm_mga_buf_priv_t *buf_priv; 318 drm_mga_buf_priv_t *buf_priv;
319 int i; 319 int i;
@@ -1113,7 +1113,7 @@ static int mga_dma_get_buffers(DRMFILE filp, struct drm_device * dev, struct drm
1113int mga_dma_buffers(DRM_IOCTL_ARGS) 1113int mga_dma_buffers(DRM_IOCTL_ARGS)
1114{ 1114{
1115 DRM_DEVICE; 1115 DRM_DEVICE;
1116 drm_device_dma_t *dma = dev->dma; 1116 struct drm_device_dma *dma = dev->dma;
1117 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private; 1117 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private;
1118 struct drm_dma __user *argp = (void __user *)data; 1118 struct drm_dma __user *argp = (void __user *)data;
1119 struct drm_dma d; 1119 struct drm_dma d;