summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/list.h')
-rw-r--r--scripts/kconfig/list.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/kconfig/list.h b/scripts/kconfig/list.h
index 45cb237ab7ef..babed0baf4ae 100644
--- a/scripts/kconfig/list.h
+++ b/scripts/kconfig/list.h
@@ -2,6 +2,8 @@
#ifndef LIST_H
#define LIST_H
+#include "list_types.h"
+
/*
* Copied from include/linux/...
*/
@@ -20,12 +22,6 @@
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
(type *)( (char *)__mptr - offsetof(type,member) );})
-
-struct list_head {
- struct list_head *next, *prev;
-};
-
-
#define LIST_HEAD_INIT(name) { &(name), &(name) }
#define LIST_HEAD(name) \