summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-11-02 14:31:18 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-11-03 09:48:53 +0100
commit73d57b1d3537075c3455ec279c7d1a44bf34ac68 (patch)
tree5dcc63a6b4530e644731be9d3617341ad682ca1a /common
parent7aa3778f6d7dfa7d7b10d4bbda73d316a9b285a6 (diff)
downloadbarebox-73d57b1d3537075c3455ec279c7d1a44bf34ac68.tar.gz
list: remove duplicated list.h
We accidently have two list implementations in the tree: include/list.h and include/linux/list.h. This patch moves the latter (newer one) to include/linux/list.h. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/command.c2
-rw-r--r--common/complete.c2
-rw-r--r--common/console.c2
-rw-r--r--common/module.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/common/command.c b/common/command.c
index f484520..a46e07e 100644
--- a/common/command.c
+++ b/common/command.c
@@ -30,7 +30,7 @@
#include <xfuncs.h>
#include <malloc.h>
#include <environment.h>
-#include <list.h>
+#include <linux/list.h>
#include <init.h>
#include <complete.h>
#include <linux/utsrelease.h>
diff --git a/common/complete.c b/common/complete.c
index c499e09..87435ee 100644
--- a/common/complete.c
+++ b/common/complete.c
@@ -20,7 +20,7 @@
#include <common.h>
#include <complete.h>
#include <xfuncs.h>
-#include <list.h>
+#include <linux/list.h>
#include <malloc.h>
#include <fs.h>
#include <linux/stat.h>
diff --git a/common/console.c b/common/console.c
index 52d7119..d3d31f7 100644
--- a/common/console.c
+++ b/common/console.c
@@ -34,7 +34,7 @@
#include <clock.h>
#include <kfifo.h>
#include <module.h>
-#include <list.h>
+#include <linux/list.h>
LIST_HEAD(console_list);
EXPORT_SYMBOL(console_list);
diff --git a/common/module.c b/common/module.c
index e45c992..302aefa 100644
--- a/common/module.c
+++ b/common/module.c
@@ -26,7 +26,7 @@
#include <command.h>
#include <fs.h>
#include <kallsyms.h>
-#include <list.h>
+#include <linux/list.h>
static unsigned int find_sec(Elf_Ehdr *hdr,
Elf_Shdr *sechdrs,