diff options
Diffstat (limited to 'drivers/char/drm/mga_dma.c')
-rw-r--r-- | drivers/char/drm/mga_dma.c | 6 |
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 | ||
248 | static int mga_freelist_init(struct drm_device * dev, drm_mga_private_t * dev_priv) | 248 | static 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 | */ |
314 | static void mga_freelist_reset(struct drm_device * dev) | 314 | static 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 | |||
1113 | int mga_dma_buffers(DRM_IOCTL_ARGS) | 1113 | int 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; |