summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/board_f.c2
-rw-r--r--common/hash.c2
-rw-r--r--common/image.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c
index 9ef998f9ed2..2c885950782 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -49,7 +49,7 @@
#include <trace.h>
#include <video.h>
#include <watchdog.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
#include <asm/io.h>
#include <asm/sections.h>
#if defined(CONFIG_X86) || defined(CONFIG_ARC)
diff --git a/common/hash.c b/common/hash.c
index 41de4df5368..b645298afcd 100644
--- a/common/hash.c
+++ b/common/hash.c
@@ -17,7 +17,7 @@
#include <mapmem.h>
#include <hw_sha.h>
#include <asm/io.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
#else
#include "mkimage.h"
#include <time.h>
diff --git a/common/image.c b/common/image.c
index c8d9bc834d8..a5d19abfa93 100644
--- a/common/image.c
+++ b/common/image.c
@@ -38,7 +38,7 @@
#include <u-boot/md5.h>
#include <u-boot/sha1.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
#include <asm/io.h>
#ifdef CONFIG_CMD_BDI