summaryrefslogtreecommitdiff
path: root/include
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 /include
parent519d9424c33026677868e3b29203120261516996 (diff)
downloadu-boot-1221ce459d04a428f8880f58581f671b736c3c27.tar.gz
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 'include')
-rw-r--r--include/clk.h2
-rw-r--r--include/fsl_esdhc.h2
-rw-r--r--include/hwconfig.h2
-rw-r--r--include/linux/err.h2
-rw-r--r--include/linux/mtd/mtd.h2
-rw-r--r--include/ubi_uboot.h2
-rw-r--r--include/wait_bit.h2
7 files changed, 7 insertions, 7 deletions
diff --git a/include/clk.h b/include/clk.h
index 7273127bb4..fe1f8922c6 100644
--- a/include/clk.h
+++ b/include/clk.h
@@ -9,8 +9,8 @@
#ifndef _CLK_H_
#define _CLK_H_
+#include <linux/errno.h>
#include <linux/types.h>
-#include <asm/errno.h>
/**
* A clock is a hardware signal that oscillates autonomously at a specific
diff --git a/include/fsl_esdhc.h b/include/fsl_esdhc.h
index c6f46664c7..e15d3aeaec 100644
--- a/include/fsl_esdhc.h
+++ b/include/fsl_esdhc.h
@@ -10,7 +10,7 @@
#ifndef __FSL_ESDHC_H__
#define __FSL_ESDHC_H__
-#include <asm/errno.h>
+#include <linux/errno.h>
#include <asm/byteorder.h>
/* needed for the mmc_cfg definition */
diff --git a/include/hwconfig.h b/include/hwconfig.h
index def7ad03da..d30421d267 100644
--- a/include/hwconfig.h
+++ b/include/hwconfig.h
@@ -13,7 +13,7 @@
#define _HWCONFIG_H
#include <linux/types.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
#ifdef CONFIG_HWCONFIG
diff --git a/include/linux/err.h b/include/linux/err.h
index 5b3c8bcf70..e4d22d508c 100644
--- a/include/linux/err.h
+++ b/include/linux/err.h
@@ -4,7 +4,7 @@
#include <linux/compiler.h>
#include <linux/compat.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
/*
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 779eea035c..1fd17c303a 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -20,7 +20,7 @@
#else
#include <linux/compat.h>
#include <mtd/mtd-abi.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
#include <div64.h>
#define MAX_MTD_DEVICES 32
diff --git a/include/ubi_uboot.h b/include/ubi_uboot.h
index 324fe72016..fa33d5e52d 100644
--- a/include/ubi_uboot.h
+++ b/include/ubi_uboot.h
@@ -32,7 +32,7 @@
#include <onenand_uboot.h>
#endif
-#include <asm/errno.h>
+#include <linux/errno.h>
/* configurable */
#if !defined(CONFIG_MTD_UBI_WL_THRESHOLD)
diff --git a/include/wait_bit.h b/include/wait_bit.h
index 061a2db5a2..066e30c118 100644
--- a/include/wait_bit.h
+++ b/include/wait_bit.h
@@ -11,7 +11,7 @@
#include <common.h>
#include <console.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
#include <asm/io.h>
/**