diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-11 20:26:44 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-11 20:26:44 -0400 |
commit | e0be428e6645f2891fab6be92d1b0e9aad972e7d (patch) | |
tree | cf071bb45d7f043da0ed28bde707daa3a6dce4f5 /drivers/char/drm/drm_auth.c | |
parent | 9698b4dba42eb758ad98012c21e5fbdb372fe2d9 (diff) |
drm: detypedef the hashtab and more of sman
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_auth.c')
-rw-r--r-- | drivers/char/drm/drm_auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/drm_auth.c b/drivers/char/drm/drm_auth.c index 52c635485304..7f777da872cd 100644 --- a/drivers/char/drm/drm_auth.c +++ b/drivers/char/drm/drm_auth.c | |||
@@ -49,7 +49,7 @@ static struct drm_file *drm_find_file(struct drm_device * dev, drm_magic_t magic | |||
49 | { | 49 | { |
50 | struct drm_file *retval = NULL; | 50 | struct drm_file *retval = NULL; |
51 | struct drm_magic_entry *pt; | 51 | struct drm_magic_entry *pt; |
52 | drm_hash_item_t *hash; | 52 | struct drm_hash_item *hash; |
53 | 53 | ||
54 | mutex_lock(&dev->struct_mutex); | 54 | mutex_lock(&dev->struct_mutex); |
55 | if (!drm_ht_find_item(&dev->magiclist, (unsigned long)magic, &hash)) { | 55 | if (!drm_ht_find_item(&dev->magiclist, (unsigned long)magic, &hash)) { |
@@ -105,7 +105,7 @@ static int drm_add_magic(struct drm_device * dev, struct drm_file * priv, | |||
105 | static int drm_remove_magic(struct drm_device * dev, drm_magic_t magic) | 105 | static int drm_remove_magic(struct drm_device * dev, drm_magic_t magic) |
106 | { | 106 | { |
107 | struct drm_magic_entry *pt; | 107 | struct drm_magic_entry *pt; |
108 | drm_hash_item_t *hash; | 108 | struct drm_hash_item *hash; |
109 | 109 | ||
110 | DRM_DEBUG("%d\n", magic); | 110 | DRM_DEBUG("%d\n", magic); |
111 | 111 | ||