diff options
Diffstat (limited to 'drivers/char/drm/radeon_cp.c')
-rw-r--r-- | drivers/char/drm/radeon_cp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/radeon_cp.c b/drivers/char/drm/radeon_cp.c index 7dd980055229..cfc5aa16de22 100644 --- a/drivers/char/drm/radeon_cp.c +++ b/drivers/char/drm/radeon_cp.c | |||
@@ -2171,7 +2171,7 @@ int radeon_wait_ring(drm_radeon_private_t * dev_priv, int n) | |||
2171 | } | 2171 | } |
2172 | 2172 | ||
2173 | static int radeon_cp_get_buffers(DRMFILE filp, drm_device_t * dev, | 2173 | static int radeon_cp_get_buffers(DRMFILE filp, drm_device_t * dev, |
2174 | drm_dma_t * d) | 2174 | struct drm_dma * d) |
2175 | { | 2175 | { |
2176 | int i; | 2176 | int i; |
2177 | drm_buf_t *buf; | 2177 | drm_buf_t *buf; |
@@ -2200,8 +2200,8 @@ int radeon_cp_buffers(DRM_IOCTL_ARGS) | |||
2200 | DRM_DEVICE; | 2200 | DRM_DEVICE; |
2201 | drm_device_dma_t *dma = dev->dma; | 2201 | drm_device_dma_t *dma = dev->dma; |
2202 | int ret = 0; | 2202 | int ret = 0; |
2203 | drm_dma_t __user *argp = (void __user *)data; | 2203 | struct drm_dma __user *argp = (void __user *)data; |
2204 | drm_dma_t d; | 2204 | struct drm_dma d; |
2205 | 2205 | ||
2206 | LOCK_TEST_WITH_RETURN(dev, filp); | 2206 | LOCK_TEST_WITH_RETURN(dev, filp); |
2207 | 2207 | ||