aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_vm.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/drm_vm.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/drm_vm.c')
-rw-r--r--drivers/char/drm/drm_vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/drm_vm.c b/drivers/char/drm/drm_vm.c
index 25f3bd11212..95f9fe5daab 100644
--- a/drivers/char/drm/drm_vm.c
+++ b/drivers/char/drm/drm_vm.c
@@ -276,7 +276,7 @@ static __inline__ struct page *drm_do_vm_dma_nopage(struct vm_area_struct *vma,
276{ 276{
277 struct drm_file *priv = vma->vm_file->private_data; 277 struct drm_file *priv = vma->vm_file->private_data;
278 struct drm_device *dev = priv->head->dev; 278 struct drm_device *dev = priv->head->dev;
279 drm_device_dma_t *dma = dev->dma; 279 struct drm_device_dma *dma = dev->dma;
280 unsigned long offset; 280 unsigned long offset;
281 unsigned long page_nr; 281 unsigned long page_nr;
282 struct page *page; 282 struct page *page;
@@ -474,7 +474,7 @@ static int drm_mmap_dma(struct file *filp, struct vm_area_struct *vma)
474{ 474{
475 struct drm_file *priv = filp->private_data; 475 struct drm_file *priv = filp->private_data;
476 struct drm_device *dev; 476 struct drm_device *dev;
477 drm_device_dma_t *dma; 477 struct drm_device_dma *dma;
478 unsigned long length = vma->vm_end - vma->vm_start; 478 unsigned long length = vma->vm_end - vma->vm_start;
479 479
480 dev = priv->head->dev; 480 dev = priv->head->dev;