summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-21 11:28:55 +0900
committerTom Rini <trini@konsulko.com>2016-09-23 17:55:42 -0400
commit1221ce459d04a428f8880f58581f671b736c3c27 (patch)
tree5b7bf78e1d59427ffadf0a4b71fe26994f3d042b /cmd
parent519d9424c33026677868e3b29203120261516996 (diff)
treewide: replace #include <asm/errno.h> with <linux/errno.h>
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have the same content. (both just wrap <asm-generic/errno.h>) Replace all include directives for <asm/errno.h> with <linux/errno.h>. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> [trini: Fixup include/clk.] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fuse.c2
-rw-r--r--cmd/host.c2
-rw-r--r--cmd/ubi.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/cmd/fuse.c b/cmd/fuse.c
index 5998f9b2eb..2917d83faf 100644
--- a/cmd/fuse.c
+++ b/cmd/fuse.c
@@ -13,7 +13,7 @@
#include <command.h>
#include <console.h>
#include <fuse.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
static int strtou32(const char *str, unsigned int base, u32 *result)
{
diff --git a/cmd/host.c b/cmd/host.c
index b427e541f1..515621b804 100644
--- a/cmd/host.c
+++ b/cmd/host.c
@@ -9,7 +9,7 @@
#include <fs.h>
#include <part.h>
#include <sandboxblockdev.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
static int host_curr_device = -1;
diff --git a/cmd/ubi.c b/cmd/ubi.c
index 4a92d840b6..b726f3f3bb 100644
--- a/cmd/ubi.c
+++ b/cmd/ubi.c
@@ -21,7 +21,7 @@
#include <linux/mtd/partitions.h>
#include <linux/err.h>
#include <ubi_uboot.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
#include <jffs2/load_kernel.h>
#undef ubi_msg