aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_vm.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-07-11 20:26:44 -0400
committerDave Airlie <airlied@linux.ie>2007-07-11 20:26:44 -0400
commite0be428e6645f2891fab6be92d1b0e9aad972e7d (patch)
treecf071bb45d7f043da0ed28bde707daa3a6dce4f5 /drivers/char/drm/drm_vm.c
parent9698b4dba42eb758ad98012c21e5fbdb372fe2d9 (diff)
drm: detypedef the hashtab and more of sman
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 1c7a3c88702c..68e36e51ba0c 100644
--- a/drivers/char/drm/drm_vm.c
+++ b/drivers/char/drm/drm_vm.c
@@ -83,7 +83,7 @@ static __inline__ struct page *drm_do_vm_nopage(struct vm_area_struct *vma,
83 struct drm_device *dev = priv->head->dev; 83 struct drm_device *dev = priv->head->dev;
84 struct drm_map *map = NULL; 84 struct drm_map *map = NULL;
85 struct drm_map_list *r_list; 85 struct drm_map_list *r_list;
86 drm_hash_item_t *hash; 86 struct drm_hash_item *hash;
87 87
88 /* 88 /*
89 * Find the right map 89 * Find the right map
@@ -549,7 +549,7 @@ static int drm_mmap_locked(struct file *filp, struct vm_area_struct *vma)
549 struct drm_device *dev = priv->head->dev; 549 struct drm_device *dev = priv->head->dev;
550 struct drm_map *map = NULL; 550 struct drm_map *map = NULL;
551 unsigned long offset = 0; 551 unsigned long offset = 0;
552 drm_hash_item_t *hash; 552 struct drm_hash_item *hash;
553 553
554 DRM_DEBUG("start = 0x%lx, end = 0x%lx, page offset = 0x%lx\n", 554 DRM_DEBUG("start = 0x%lx, end = 0x%lx, page offset = 0x%lx\n",
555 vma->vm_start, vma->vm_end, vma->vm_pgoff); 555 vma->vm_start, vma->vm_end, vma->vm_pgoff);