summaryrefslogtreecommitdiff
path: root/linux-core/drm_hashtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_hashtab.h')
-rw-r--r--linux-core/drm_hashtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_hashtab.h b/linux-core/drm_hashtab.h
index 580a02ed..d792499e 100644
--- a/linux-core/drm_hashtab.h
+++ b/linux-core/drm_hashtab.h
@@ -35,7 +35,7 @@
#ifndef DRM_HASHTAB_H
#define DRM_HASHTAB_H
-#define drm_hash_entry(_a1, _a2, _a3) list_entry(_a1, _a2, _a3)
+#define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member)
typedef struct drm_hash_item{
struct hlist_node head;