summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/mga_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-11 08:32:08 +0200
committerDave Airlie <airlied@linux.ie>2007-07-11 08:32:08 +0200
commitcdd55a294c13f8bf05b2f4fee4c96934d5ebd2e4 (patch)
treeb759df2c65f321d2bdd8ff338048a6f67417ca95 /drivers/char/drm/mga_dma.c
parentdrm: drop drm_vma_entry_t, drm_magic_entry_t (diff)
downloadlinux-cdd55a294c13f8bf05b2f4fee4c96934d5ebd2e4.tar.xz
linux-cdd55a294c13f8bf05b2f4fee4c96934d5ebd2e4.zip
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)
static int mga_freelist_init(struct drm_device * dev, drm_mga_private_t * dev_priv)
{
- drm_device_dma_t *dma = dev->dma;
+ struct drm_device_dma *dma = dev->dma;
struct drm_buf *buf;
drm_mga_buf_priv_t *buf_priv;
drm_mga_freelist_t *entry;
@@ -313,7 +313,7 @@ static void mga_freelist_cleanup(struct drm_device * dev)
*/
static void mga_freelist_reset(struct drm_device * dev)
{
- drm_device_dma_t *dma = dev->dma;
+ struct drm_device_dma *dma = dev->dma;
struct drm_buf *buf;
drm_mga_buf_priv_t *buf_priv;
int i;
@@ -1113,7 +1113,7 @@ static int mga_dma_get_buffers(DRMFILE filp, struct drm_device * dev, struct drm
int mga_dma_buffers(DRM_IOCTL_ARGS)
{
DRM_DEVICE;
- drm_device_dma_t *dma = dev->dma;
+ struct drm_device_dma *dma = dev->dma;
drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private;
struct drm_dma __user *argp = (void __user *)data;
struct drm_dma d;