summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_hashtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drm_hashtab.h')
-rw-r--r--drivers/char/drm/drm_hashtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_hashtab.h b/drivers/char/drm/drm_hashtab.h
index 9e19ef1814ba..40afec05bff8 100644
--- a/drivers/char/drm/drm_hashtab.h
+++ b/drivers/char/drm/drm_hashtab.h
@@ -35,7 +35,7 @@
#ifndef DRM_HASHTAB_H
#define DRM_HASHTAB_H
-#define drm_hash_entry(_ptr, _type, _member) list_entry(_ptr, _type, _member)
+#define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member)
typedef struct drm_hash_item{
struct hlist_node head;