summaryrefslogtreecommitdiff
path: root/include/linux_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux_list.h')
-rw-r--r--include/linux_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux_list.h b/include/linux_list.h
index 57b56d7..b84b1c4 100644
--- a/include/linux_list.h
+++ b/include/linux_list.h
@@ -13,7 +13,7 @@
*
*/
#define container_of(ptr, type, member) ({ \
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
+ typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
/*