diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 02:17:42 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 02:17:42 -0400 |
commit | 056219e2fa6664ec83bc258ebcf30f1a7919d423 (patch) | |
tree | 0c74c9fd648755cf3aa3a2ff7fd46024e137af1f /drivers/char/drm/mga_dma.c | |
parent | eddca551a3e7be2fed54282f255f18efe9ead131 (diff) |
drm: drop drm_buf_t typedef
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.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/char/drm/mga_dma.c b/drivers/char/drm/mga_dma.c index 61feb6d06811..b5d41dcb29e7 100644 --- a/drivers/char/drm/mga_dma.c +++ b/drivers/char/drm/mga_dma.c | |||
@@ -248,7 +248,7 @@ static void mga_freelist_print(struct drm_device * dev) | |||
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 | drm_device_dma_t *dma = dev->dma; |
251 | drm_buf_t *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; |
254 | int i; | 254 | int i; |
@@ -314,7 +314,7 @@ static void mga_freelist_cleanup(struct drm_device * dev) | |||
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 | drm_device_dma_t *dma = dev->dma; |
317 | drm_buf_t *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; |
320 | 320 | ||
@@ -326,7 +326,7 @@ static void mga_freelist_reset(struct drm_device * dev) | |||
326 | } | 326 | } |
327 | #endif | 327 | #endif |
328 | 328 | ||
329 | static drm_buf_t *mga_freelist_get(struct drm_device * dev) | 329 | static struct drm_buf *mga_freelist_get(struct drm_device * dev) |
330 | { | 330 | { |
331 | drm_mga_private_t *dev_priv = dev->dev_private; | 331 | drm_mga_private_t *dev_priv = dev->dev_private; |
332 | drm_mga_freelist_t *next; | 332 | drm_mga_freelist_t *next; |
@@ -359,7 +359,7 @@ static drm_buf_t *mga_freelist_get(struct drm_device * dev) | |||
359 | return NULL; | 359 | return NULL; |
360 | } | 360 | } |
361 | 361 | ||
362 | int mga_freelist_put(struct drm_device * dev, drm_buf_t * buf) | 362 | int mga_freelist_put(struct drm_device * dev, struct drm_buf * buf) |
363 | { | 363 | { |
364 | drm_mga_private_t *dev_priv = dev->dev_private; | 364 | drm_mga_private_t *dev_priv = dev->dev_private; |
365 | drm_mga_buf_priv_t *buf_priv = buf->dev_private; | 365 | drm_mga_buf_priv_t *buf_priv = buf->dev_private; |
@@ -1088,7 +1088,7 @@ int mga_dma_reset(DRM_IOCTL_ARGS) | |||
1088 | 1088 | ||
1089 | static int mga_dma_get_buffers(DRMFILE filp, struct drm_device * dev, struct drm_dma * d) | 1089 | static int mga_dma_get_buffers(DRMFILE filp, struct drm_device * dev, struct drm_dma * d) |
1090 | { | 1090 | { |
1091 | drm_buf_t *buf; | 1091 | struct drm_buf *buf; |
1092 | int i; | 1092 | int i; |
1093 | 1093 | ||
1094 | for (i = d->granted_count; i < d->request_count; i++) { | 1094 | for (i = d->granted_count; i < d->request_count; i++) { |