diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-09-21 11:28:55 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-23 17:55:42 -0400 |
commit | 1221ce459d04a428f8880f58581f671b736c3c27 (patch) | |
tree | 5b7bf78e1d59427ffadf0a4b71fe26994f3d042b /drivers/mtd | |
parent | 519d9424c33026677868e3b29203120261516996 (diff) | |
download | u-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 'drivers/mtd')
-rw-r--r-- | drivers/mtd/cfi_mtd.c | 2 | ||||
-rw-r--r-- | drivers/mtd/mtdpart.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/arasan_nfc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/denali.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/fsl_elbc_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/fsl_ifc_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/fsl_upm.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/lpc32xx_nand_mlc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/lpc32xx_nand_slc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/mpc5121_nfc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/mxs_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/nand_ecc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/nand_util.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/omap_elm.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/omap_gpmc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/pxa3xx_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/tegra_nand.c | 2 | ||||
-rw-r--r-- | drivers/mtd/onenand/onenand_base.c | 2 | ||||
-rw-r--r-- | drivers/mtd/onenand/onenand_bbt.c | 2 | ||||
-rw-r--r-- | drivers/mtd/onenand/samsung.c | 2 | ||||
-rw-r--r-- | drivers/mtd/spi/sf_mtd.c | 2 |
22 files changed, 22 insertions, 22 deletions
diff --git a/drivers/mtd/cfi_mtd.c b/drivers/mtd/cfi_mtd.c index 709a48642d..3c061736a2 100644 --- a/drivers/mtd/cfi_mtd.c +++ b/drivers/mtd/cfi_mtd.c @@ -10,7 +10,7 @@ #include <flash.h> #include <malloc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/mtd/mtd.h> #include <linux/mtd/concat.h> #include <mtd/cfi_flash.h> diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index cddfb1609c..5e42c4b833 100644 --- a/drivers/mtd/mtdpart.c +++ b/drivers/mtd/mtdpart.c @@ -20,7 +20,7 @@ #include <common.h> #include <malloc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/compat.h> #include <ubi_uboot.h> diff --git a/drivers/mtd/nand/arasan_nfc.c b/drivers/mtd/nand/arasan_nfc.c index 320cbaa859..86f7526a84 100644 --- a/drivers/mtd/nand/arasan_nfc.c +++ b/drivers/mtd/nand/arasan_nfc.c @@ -9,7 +9,7 @@ #include <common.h> #include <malloc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/mtd/mtd.h> #include <linux/mtd/nand.h> #include <linux/mtd/partitions.h> diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index 601e744a08..18280b0b2f 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c @@ -9,7 +9,7 @@ #include <common.h> #include <malloc.h> #include <nand.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include "denali.h" diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c index f621f14122..b3c23b0339 100644 --- a/drivers/mtd/nand/fsl_elbc_nand.c +++ b/drivers/mtd/nand/fsl_elbc_nand.c @@ -17,7 +17,7 @@ #include <linux/mtd/nand_ecc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #ifdef VERBOSE_DEBUG #define DEBUG_ELBC diff --git a/drivers/mtd/nand/fsl_ifc_nand.c b/drivers/mtd/nand/fsl_ifc_nand.c index 7001cbd62d..bc6bdc9b2c 100644 --- a/drivers/mtd/nand/fsl_ifc_nand.c +++ b/drivers/mtd/nand/fsl_ifc_nand.c @@ -16,7 +16,7 @@ #include <linux/mtd/nand_ecc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <fsl_ifc.h> #ifndef CONFIG_SYS_FSL_IFC_BANK_COUNT diff --git a/drivers/mtd/nand/fsl_upm.c b/drivers/mtd/nand/fsl_upm.c index d2b388197b..4a45b8740a 100644 --- a/drivers/mtd/nand/fsl_upm.c +++ b/drivers/mtd/nand/fsl_upm.c @@ -10,7 +10,7 @@ #include <config.h> #include <common.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/mtd/mtd.h> #include <linux/mtd/fsl_upm.h> #include <nand.h> diff --git a/drivers/mtd/nand/lpc32xx_nand_mlc.c b/drivers/mtd/nand/lpc32xx_nand_mlc.c index a793115331..3af7e6dfac 100644 --- a/drivers/mtd/nand/lpc32xx_nand_mlc.c +++ b/drivers/mtd/nand/lpc32xx_nand_mlc.c @@ -22,7 +22,7 @@ #include <common.h> #include <nand.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <nand.h> #include <asm/arch/clk.h> diff --git a/drivers/mtd/nand/lpc32xx_nand_slc.c b/drivers/mtd/nand/lpc32xx_nand_slc.c index daa1e7a501..f7e27b39ce 100644 --- a/drivers/mtd/nand/lpc32xx_nand_slc.c +++ b/drivers/mtd/nand/lpc32xx_nand_slc.c @@ -15,7 +15,7 @@ #include <common.h> #include <nand.h> #include <linux/mtd/nand_ecc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/config.h> #include <asm/arch/clk.h> diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index 8a8775c4c5..7faabddbf2 100644 --- a/drivers/mtd/nand/mpc5121_nfc.c +++ b/drivers/mtd/nand/mpc5121_nfc.c @@ -19,7 +19,7 @@ #include <linux/mtd/nand_ecc.h> #include <linux/compat.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/processor.h> #include <nand.h> diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c index 4bf564e4f5..92005448d2 100644 --- a/drivers/mtd/nand/mxs_nand.c +++ b/drivers/mtd/nand/mxs_nand.c @@ -18,7 +18,7 @@ #include <linux/mtd/nand.h> #include <linux/types.h> #include <malloc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index d1287bc3be..d9e5fc95f5 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -44,7 +44,7 @@ #include <linux/mtd/partitions.h> #endif #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> /* Define default oob placement schemes for large and small page devices */ static struct nand_ecclayout nand_oob_8 = { diff --git a/drivers/mtd/nand/nand_ecc.c b/drivers/mtd/nand/nand_ecc.c index 083e0e99e4..8b548b204d 100644 --- a/drivers/mtd/nand/nand_ecc.c +++ b/drivers/mtd/nand/nand_ecc.c @@ -25,7 +25,7 @@ #include <common.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/mtd/mtd.h> #include <linux/mtd/nand_ecc.h> diff --git a/drivers/mtd/nand/nand_util.c b/drivers/mtd/nand/nand_util.c index e8bcc34ab4..9c8a373970 100644 --- a/drivers/mtd/nand/nand_util.c +++ b/drivers/mtd/nand/nand_util.c @@ -26,7 +26,7 @@ #include <memalign.h> #include <div64.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/mtd/mtd.h> #include <nand.h> #include <jffs2/jffs2.h> diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c index d963e6c07c..9ef1b2169e 100644 --- a/drivers/mtd/nand/omap_elm.c +++ b/drivers/mtd/nand/omap_elm.c @@ -15,7 +15,7 @@ #include <common.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/mtd/omap_elm.h> #include <asm/arch/hardware.h> diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c index af618fc044..d1e1bdda28 100644 --- a/drivers/mtd/nand/omap_gpmc.c +++ b/drivers/mtd/nand/omap_gpmc.c @@ -7,7 +7,7 @@ #include <common.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/arch/mem.h> #include <linux/mtd/omap_gpmc.h> #include <linux/mtd/nand_ecc.h> diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index b1d58e036a..dfe8966b56 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c @@ -10,7 +10,7 @@ #include <common.h> #include <malloc.h> #include <nand.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/cpu.h> #include <linux/mtd/mtd.h> diff --git a/drivers/mtd/nand/tegra_nand.c b/drivers/mtd/nand/tegra_nand.c index 38bd7a5578..5c9b485b08 100644 --- a/drivers/mtd/nand/tegra_nand.c +++ b/drivers/mtd/nand/tegra_nand.c @@ -14,7 +14,7 @@ #include <asm/arch/clock.h> #include <asm/arch/funcmux.h> #include <asm/arch-tegra/clk_rst.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/gpio.h> #include <fdtdec.h> #include <bouncebuf.h> diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index 0e35dc5b88..2e3d0e5c9a 100644 --- a/drivers/mtd/onenand/onenand_base.c +++ b/drivers/mtd/onenand/onenand_base.c @@ -27,7 +27,7 @@ #include <linux/mtd/onenand.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <malloc.h> /* It should access 16-bit instead of 8-bit */ diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c index 52509f1ae9..20507004ed 100644 --- a/drivers/mtd/onenand/onenand_bbt.c +++ b/drivers/mtd/onenand/onenand_bbt.c @@ -20,7 +20,7 @@ #include <linux/mtd/onenand.h> #include <malloc.h> -#include <asm/errno.h> +#include <linux/errno.h> /** * check_short_pattern - [GENERIC] check if a pattern is in the buffer diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c index 5e56a2954d..10dd268c17 100644 --- a/drivers/mtd/onenand/samsung.c +++ b/drivers/mtd/onenand/samsung.c @@ -19,7 +19,7 @@ #include <linux/mtd/samsung_onenand.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #define ONENAND_ERASE_STATUS 0x00 #define ONENAND_MULTI_ERASE_SET 0x01 diff --git a/drivers/mtd/spi/sf_mtd.c b/drivers/mtd/spi/sf_mtd.c index 0b9cb62261..935ae4d2b9 100644 --- a/drivers/mtd/spi/sf_mtd.c +++ b/drivers/mtd/spi/sf_mtd.c @@ -6,7 +6,7 @@ #include <common.h> #include <malloc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/mtd/mtd.h> #include <spi_flash.h> |