summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/cmd_edit.c1
-rw-r--r--common/cmd_fs.c1
-rw-r--r--common/cmd_mem.c1
-rw-r--r--common/cmd_net.c1
-rw-r--r--common/env.c2
-rw-r--r--common/environment.c1
-rw-r--r--common/misc.c2
-rw-r--r--common/mtdpart.c2
8 files changed, 3 insertions, 8 deletions
diff --git a/common/cmd_edit.c b/common/cmd_edit.c
index 1b0c6f9853..61d7ce3b55 100644
--- a/common/cmd_edit.c
+++ b/common/cmd_edit.c
@@ -6,7 +6,6 @@
#include <fcntl.h>
#include <readkey.h>
#include <errno.h>
-#include <asm-generic/errno.h>
#include <xfuncs.h>
#define TABSPACE 8
diff --git a/common/cmd_fs.c b/common/cmd_fs.c
index 38ebfe196b..7697640ca6 100644
--- a/common/cmd_fs.c
+++ b/common/cmd_fs.c
@@ -2,7 +2,6 @@
#include <command.h>
#include <fs.h>
#include <errno.h>
-#include <asm-generic/errno.h>
#include <malloc.h>
#include <linux/ctype.h>
#include <getopt.h>
diff --git a/common/cmd_mem.c b/common/cmd_mem.c
index 4027752efe..7ed8170a32 100644
--- a/common/cmd_mem.c
+++ b/common/cmd_mem.c
@@ -33,7 +33,6 @@
#include <driver.h>
#include <malloc.h>
#include <errno.h>
-#include <asm-generic/errno.h>
#include <fs.h>
#include <fcntl.h>
#include <getopt.h>
diff --git a/common/cmd_net.c b/common/cmd_net.c
index 1116d58c7c..74a3dbdd5b 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -27,7 +27,6 @@
#include <common.h>
#include <command.h>
#include <environment.h>
-#include <asm-generic/errno.h>
#include <driver.h>
#include <net.h>
#include <fs.h>
diff --git a/common/env.c b/common/env.c
index 8a69017218..d0d64873c7 100644
--- a/common/env.c
+++ b/common/env.c
@@ -2,7 +2,7 @@
#include <command.h>
#include <driver.h>
#include <malloc.h>
-#include <asm-generic/errno.h>
+#include <errno.h>
static ulong env_size;
static char *env_name_spec;
diff --git a/common/environment.c b/common/environment.c
index 8dd7338a9a..fd8307de09 100644
--- a/common/environment.c
+++ b/common/environment.c
@@ -3,7 +3,6 @@
#include <driver.h>
#include <malloc.h>
#include <errno.h>
-#include <asm-generic/errno.h>
#include <fs.h>
#include <fcntl.h>
#include <linux/stat.h>
diff --git a/common/misc.c b/common/misc.c
index f7617d063d..9fded4bbbe 100644
--- a/common/misc.c
+++ b/common/misc.c
@@ -1,6 +1,6 @@
#include <common.h>
#include <mem_malloc.h>
-#include <asm-generic/errno.h>
+#include <errno.h>
/*
* Begin and End of memory area for malloc(), and current "brk"
diff --git a/common/mtdpart.c b/common/mtdpart.c
index db18f046de..14bd1e5ae7 100644
--- a/common/mtdpart.c
+++ b/common/mtdpart.c
@@ -4,7 +4,7 @@
#include <init.h>
#include <driver.h>
#include <malloc.h>
-#include <asm-generic/errno.h>
+#include <errno.h>
#include <partition.h>
static void dev_del_partitions(struct device_d *dev)