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 | |
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')
118 files changed, 118 insertions, 118 deletions
diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index e3e783a74c..2e1ddf9dac 100644 --- a/drivers/block/ahci.c +++ b/drivers/block/ahci.c @@ -13,7 +13,7 @@ #include <dm.h> #include <pci.h> #include <asm/processor.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <malloc.h> #include <memalign.h> diff --git a/drivers/block/dwc_ahsata.c b/drivers/block/dwc_ahsata.c index 6056fe5dfd..c306e927db 100644 --- a/drivers/block/dwc_ahsata.c +++ b/drivers/block/dwc_ahsata.c @@ -13,7 +13,7 @@ #include <common.h> #include <malloc.h> #include <linux/ctype.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <linux/bitops.h> #include <asm/arch/clock.h> diff --git a/drivers/block/pata_bfin.c b/drivers/block/pata_bfin.c index 26569d70aa..36a15125ad 100644 --- a/drivers/block/pata_bfin.c +++ b/drivers/block/pata_bfin.c @@ -14,7 +14,7 @@ #include <asm/byteorder.h> #include <asm/clock.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/portmux.h> #include <asm/mach-common/bits/pata.h> #include <ata.h> diff --git a/drivers/block/sandbox.c b/drivers/block/sandbox.c index ac28f83472..36c2ff3007 100644 --- a/drivers/block/sandbox.c +++ b/drivers/block/sandbox.c @@ -12,7 +12,7 @@ #include <os.h> #include <malloc.h> #include <sandboxblockdev.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <dm/device-internal.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/block/sata_dwc.c b/drivers/block/sata_dwc.c index b14985a027..a226ca2dec 100644 --- a/drivers/block/sata_dwc.c +++ b/drivers/block/sata_dwc.c @@ -26,7 +26,7 @@ #include <command.h> #include <pci.h> #include <asm/processor.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <malloc.h> #include <ata.h> diff --git a/drivers/block/sata_mv.c b/drivers/block/sata_mv.c index 88249341d6..414d2dc464 100644 --- a/drivers/block/sata_mv.c +++ b/drivers/block/sata_mv.c @@ -37,7 +37,7 @@ #include <libata.h> #include <malloc.h> #include <sata.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <linux/mbus.h> diff --git a/drivers/crypto/ace_sha.c b/drivers/crypto/ace_sha.c index efef491123..8f3b8b2614 100644 --- a/drivers/crypto/ace_sha.c +++ b/drivers/crypto/ace_sha.c @@ -10,7 +10,7 @@ #ifdef CONFIG_SHA_HW_ACCEL #include <u-boot/sha256.h> #include <u-boot/sha1.h> -#include <asm/errno.h> +#include <linux/errno.h> /* SHA1 value for the message of zero length */ static const unsigned char sha1_digest_emptymsg[SHA1_SUM_LEN] = { diff --git a/drivers/dma/apbh_dma.c b/drivers/dma/apbh_dma.c index a6dc935114..a97fa859e0 100644 --- a/drivers/dma/apbh_dma.c +++ b/drivers/dma/apbh_dma.c @@ -14,7 +14,7 @@ #include <common.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/fpga/socfpga.c b/drivers/fpga/socfpga.c index 4448250f5c..f1b2f2c4da 100644 --- a/drivers/fpga/socfpga.c +++ b/drivers/fpga/socfpga.c @@ -7,7 +7,7 @@ #include <common.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/arch/fpga_manager.h> #include <asm/arch/reset_manager.h> #include <asm/arch/system_manager.h> diff --git a/drivers/fpga/stratixv.c b/drivers/fpga/stratixv.c index cc035eb2a1..9a81aca706 100644 --- a/drivers/fpga/stratixv.c +++ b/drivers/fpga/stratixv.c @@ -8,7 +8,7 @@ #include <altera.h> #include <spi.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> /* Write the RBF data to FPGA via SPI */ static int program_write(int spi_bus, int spi_dev, const void *rbf_data, diff --git a/drivers/gpio/adi_gpio2.c b/drivers/gpio/adi_gpio2.c index 88cd65b87f..4db08a344a 100644 --- a/drivers/gpio/adi_gpio2.c +++ b/drivers/gpio/adi_gpio2.c @@ -8,7 +8,7 @@ */ #include <common.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/gpio.h> #define RESOURCE_LABEL_SIZE 16 diff --git a/drivers/gpio/gpio-uniphier.c b/drivers/gpio/gpio-uniphier.c index afb27a396f..ad1176420d 100644 --- a/drivers/gpio/gpio-uniphier.c +++ b/drivers/gpio/gpio-uniphier.c @@ -10,7 +10,7 @@ #include <linux/bitops.h> #include <linux/io.h> #include <linux/sizes.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/gpio.h> #define UNIPHIER_GPIO_PORTS_PER_BANK 8 diff --git a/drivers/gpio/mvgpio.c b/drivers/gpio/mvgpio.c index 888aa07c4c..8bfbc3a585 100644 --- a/drivers/gpio/mvgpio.c +++ b/drivers/gpio/mvgpio.c @@ -11,7 +11,7 @@ #include <common.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include "mvgpio.h" #include <asm/gpio.h> diff --git a/drivers/gpio/mxs_gpio.c b/drivers/gpio/mxs_gpio.c index c25b4c1c2e..367b852039 100644 --- a/drivers/gpio/mxs_gpio.c +++ b/drivers/gpio/mxs_gpio.c @@ -8,7 +8,7 @@ */ #include <common.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/iomux.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c index cd960dc013..f906b97fb7 100644 --- a/drivers/gpio/omap_gpio.c +++ b/drivers/gpio/omap_gpio.c @@ -23,7 +23,7 @@ #include <fdtdec.h> #include <asm/gpio.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <malloc.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/gpio/pca9698.c b/drivers/gpio/pca9698.c index 3152bf6df3..d2663f7331 100644 --- a/drivers/gpio/pca9698.c +++ b/drivers/gpio/pca9698.c @@ -11,7 +11,7 @@ #include <common.h> #include <i2c.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <pca9698.h> /* diff --git a/drivers/gpio/rk_gpio.c b/drivers/gpio/rk_gpio.c index 64abcbaa0a..5dbd228203 100644 --- a/drivers/gpio/rk_gpio.c +++ b/drivers/gpio/rk_gpio.c @@ -10,7 +10,7 @@ #include <common.h> #include <dm.h> #include <syscon.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/gpio.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/drivers/gpio/stm32_gpio.c b/drivers/gpio/stm32_gpio.c index 50f86d3dd6..ff245db91d 100644 --- a/drivers/gpio/stm32_gpio.c +++ b/drivers/gpio/stm32_gpio.c @@ -13,7 +13,7 @@ #include <common.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/arch/stm32.h> #include <asm/arch/gpio.h> diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio/zynq_gpio.c index 4ab2356081..8a448c9a41 100644 --- a/drivers/gpio/zynq_gpio.c +++ b/drivers/gpio/zynq_gpio.c @@ -12,7 +12,7 @@ #include <common.h> #include <asm/gpio.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <dm.h> #include <fdtdec.h> diff --git a/drivers/i2c/i2c-cdns.c b/drivers/i2c/i2c-cdns.c index 5642cd91fe..f49f60bb37 100644 --- a/drivers/i2c/i2c-cdns.c +++ b/drivers/i2c/i2c-cdns.c @@ -11,7 +11,7 @@ #include <common.h> #include <linux/types.h> #include <linux/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <dm/device.h> #include <dm/root.h> #include <i2c.h> diff --git a/drivers/i2c/i2c-uniphier-f.c b/drivers/i2c/i2c-uniphier-f.c index a56e058d56..8bfa916294 100644 --- a/drivers/i2c/i2c-uniphier-f.c +++ b/drivers/i2c/i2c-uniphier-f.c @@ -10,7 +10,7 @@ #include <linux/types.h> #include <linux/io.h> #include <linux/sizes.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <dm/device.h> #include <dm/root.h> #include <i2c.h> diff --git a/drivers/i2c/i2c-uniphier.c b/drivers/i2c/i2c-uniphier.c index 39a3ebdfc1..f391f11e93 100644 --- a/drivers/i2c/i2c-uniphier.c +++ b/drivers/i2c/i2c-uniphier.c @@ -10,7 +10,7 @@ #include <linux/types.h> #include <linux/io.h> #include <linux/sizes.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <dm/device.h> #include <dm/root.h> #include <i2c.h> diff --git a/drivers/i2c/kona_i2c.c b/drivers/i2c/kona_i2c.c index 11f29d926d..1228ef34e5 100644 --- a/drivers/i2c/kona_i2c.c +++ b/drivers/i2c/kona_i2c.c @@ -6,7 +6,7 @@ #include <common.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/arch/sysmap.h> #include <asm/kona-common/clk.h> #include <i2c.h> diff --git a/drivers/i2c/lpc32xx_i2c.c b/drivers/i2c/lpc32xx_i2c.c index 47163cc65a..3e842e714a 100644 --- a/drivers/i2c/lpc32xx_i2c.c +++ b/drivers/i2c/lpc32xx_i2c.c @@ -10,7 +10,7 @@ #include <common.h> #include <asm/io.h> #include <i2c.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/arch/clk.h> /* diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c index 3765fed50d..1e61f8d2fb 100644 --- a/drivers/i2c/mvtwsi.c +++ b/drivers/i2c/mvtwsi.c @@ -10,7 +10,7 @@ #include <common.h> #include <i2c.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <linux/compat.h> #ifdef CONFIG_DM_I2C diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index f3402089a8..a26f44e1e6 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -17,7 +17,7 @@ #include <common.h> #include <asm/arch/clock.h> #include <asm/arch/imx-regs.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/imx-common/mxc_i2c.h> #include <asm/io.h> #include <i2c.h> diff --git a/drivers/i2c/mxs_i2c.c b/drivers/i2c/mxs_i2c.c index 87e05c7125..d454410755 100644 --- a/drivers/i2c/mxs_i2c.c +++ b/drivers/i2c/mxs_i2c.c @@ -16,7 +16,7 @@ #include <common.h> #include <malloc.h> #include <i2c.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/i2c/zynq_i2c.c b/drivers/i2c/zynq_i2c.c index 380863bde1..2f6b364a7d 100644 --- a/drivers/i2c/zynq_i2c.c +++ b/drivers/i2c/zynq_i2c.c @@ -13,7 +13,7 @@ #include <common.h> #include <asm/io.h> #include <i2c.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/arch/hardware.h> /* i2c register set */ diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index aea8d61f34..9378e96129 100644 --- a/drivers/misc/cros_ec.c +++ b/drivers/misc/cros_ec.c @@ -22,7 +22,7 @@ #include <fdtdec.h> #include <malloc.h> #include <spi.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm-generic/gpio.h> #include <dm/device-internal.h> diff --git a/drivers/misc/fsl_iim.c b/drivers/misc/fsl_iim.c index 36433a74f8..2feb1823e4 100644 --- a/drivers/misc/fsl_iim.c +++ b/drivers/misc/fsl_iim.c @@ -11,7 +11,7 @@ #include <common.h> #include <fuse.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #ifndef CONFIG_MPC512X #include <asm/arch/imx-regs.h> diff --git a/drivers/misc/mc9sdz60.c b/drivers/misc/mc9sdz60.c index cd56b58c22..61ed50d900 100644 --- a/drivers/misc/mc9sdz60.c +++ b/drivers/misc/mc9sdz60.c @@ -7,7 +7,7 @@ #include <config.h> #include <common.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/types.h> #include <i2c.h> #include <mc9sdz60.h> diff --git a/drivers/misc/mxc_ocotp.c b/drivers/misc/mxc_ocotp.c index 38344e8090..6b8566c8d0 100644 --- a/drivers/misc/mxc_ocotp.c +++ b/drivers/misc/mxc_ocotp.c @@ -14,7 +14,7 @@ #include <common.h> #include <fuse.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/misc/mxs_ocotp.c b/drivers/misc/mxs_ocotp.c index 6c0d247ed2..a42164cccd 100644 --- a/drivers/misc/mxs_ocotp.c +++ b/drivers/misc/mxs_ocotp.c @@ -14,7 +14,7 @@ #include <common.h> #include <fuse.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/mmc/bfin_sdh.c b/drivers/mmc/bfin_sdh.c index 0e493dae0e..993a00cdb1 100644 --- a/drivers/mmc/bfin_sdh.c +++ b/drivers/mmc/bfin_sdh.c @@ -12,7 +12,7 @@ #include <mmc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/byteorder.h> #include <asm/blackfin.h> #include <asm/clock.h> diff --git a/drivers/mmc/ftsdc010_mci.c b/drivers/mmc/ftsdc010_mci.c index c02740f0ef..e88c6322e9 100644 --- a/drivers/mmc/ftsdc010_mci.c +++ b/drivers/mmc/ftsdc010_mci.c @@ -13,7 +13,7 @@ #include <mmc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/byteorder.h> #include <faraday/ftsdc010.h> diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c index 69770df44d..cca0b04a60 100644 --- a/drivers/mmc/gen_atmel_mci.c +++ b/drivers/mmc/gen_atmel_mci.c @@ -14,7 +14,7 @@ #include <part.h> #include <malloc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/byteorder.h> #include <asm/arch/clk.h> #include <asm/arch/hardware.h> diff --git a/drivers/mmc/kona_sdhci.c b/drivers/mmc/kona_sdhci.c index 3653d00b1b..e730caa207 100644 --- a/drivers/mmc/kona_sdhci.c +++ b/drivers/mmc/kona_sdhci.c @@ -7,7 +7,7 @@ #include <common.h> #include <malloc.h> #include <sdhci.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/kona-common/clk.h> #define SDHCI_CORECTRL_OFFSET 0x00008000 diff --git a/drivers/mmc/mxcmmc.c b/drivers/mmc/mxcmmc.c index 8038f90452..5a385a37f8 100644 --- a/drivers/mmc/mxcmmc.c +++ b/drivers/mmc/mxcmmc.c @@ -23,7 +23,7 @@ #include <part.h> #include <malloc.h> #include <mmc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/clock.h> diff --git a/drivers/mmc/mxsmmc.c b/drivers/mmc/mxsmmc.c index 40f3eaaa86..0896028403 100644 --- a/drivers/mmc/mxsmmc.c +++ b/drivers/mmc/mxsmmc.c @@ -20,7 +20,7 @@ #include <common.h> #include <malloc.h> #include <mmc.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/mmc/pic32_sdhci.c b/drivers/mmc/pic32_sdhci.c index abe74293ed..2abf943bdb 100644 --- a/drivers/mmc/pic32_sdhci.c +++ b/drivers/mmc/pic32_sdhci.c @@ -10,7 +10,7 @@ #include <dm.h> #include <common.h> #include <sdhci.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <mach/pic32.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/mmc/pxa_mmc_gen.c b/drivers/mmc/pxa_mmc_gen.c index 19ae81d470..a5462e2148 100644 --- a/drivers/mmc/pxa_mmc_gen.c +++ b/drivers/mmc/pxa_mmc_gen.c @@ -9,7 +9,7 @@ #include <common.h> #include <asm/arch/hardware.h> #include <asm/arch/regs-mmc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <malloc.h> #include <mmc.h> diff --git a/drivers/mmc/sh_mmcif.c b/drivers/mmc/sh_mmcif.c index bc4b344811..69ded9ee2c 100644 --- a/drivers/mmc/sh_mmcif.c +++ b/drivers/mmc/sh_mmcif.c @@ -12,7 +12,7 @@ #include <command.h> #include <mmc.h> #include <malloc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include "sh_mmcif.h" diff --git a/drivers/mmc/sh_sdhi.c b/drivers/mmc/sh_sdhi.c index ea82e2b449..78e2ef643c 100644 --- a/drivers/mmc/sh_sdhi.c +++ b/drivers/mmc/sh_sdhi.c @@ -13,7 +13,7 @@ #include <common.h> #include <malloc.h> #include <mmc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/rmobile.h> #include <asm/arch/sh_sdhi.h> 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> diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index 81ccc61a60..d17505e088 100644 --- a/drivers/net/cpsw.c +++ b/drivers/net/cpsw.c @@ -21,7 +21,7 @@ #include <net.h> #include <netdev.h> #include <cpsw.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/gpio.h> #include <asm/io.h> #include <phy.h> diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index e871b3e81b..8e3b839865 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -20,7 +20,7 @@ #include <asm/arch/imx-regs.h> #include <asm/imx-common/sys_proto.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/compiler.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/net/fm/fm.c b/drivers/net/fm/fm.c index 5eb773e587..ce4a30731f 100644 --- a/drivers/net/fm/fm.c +++ b/drivers/net/fm/fm.c @@ -7,7 +7,7 @@ #include <common.h> #include <malloc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include "fm.h" #include <fsl_qe.h> /* For struct qe_firmware */ diff --git a/drivers/net/fsl_mdio.c b/drivers/net/fsl_mdio.c index 77b9739a24..bd56166d7b 100644 --- a/drivers/net/fsl_mdio.c +++ b/drivers/net/fsl_mdio.c @@ -11,7 +11,7 @@ #include <phy.h> #include <fsl_mdio.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> void tsec_local_mdio_write(struct tsec_mii_mng __iomem *phyregs, int port_addr, int dev_addr, int regnum, int value) diff --git a/drivers/net/ftmac110.c b/drivers/net/ftmac110.c index 8fa767a1fe..bbe56f1ffb 100644 --- a/drivers/net/ftmac110.c +++ b/drivers/net/ftmac110.c @@ -11,7 +11,7 @@ #include <command.h> #include <malloc.h> #include <net.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/dma-mapping.h> diff --git a/drivers/net/lpc32xx_eth.c b/drivers/net/lpc32xx_eth.c index 2dd69f3816..cbef3359ab 100644 --- a/drivers/net/lpc32xx_eth.c +++ b/drivers/net/lpc32xx_eth.c @@ -12,7 +12,7 @@ #include <malloc.h> #include <miiphy.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/types.h> #include <asm/system.h> #include <asm/byteorder.h> diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c index a1c7ea054c..c784cdcae2 100644 --- a/drivers/net/mvgbe.c +++ b/drivers/net/mvgbe.c @@ -17,7 +17,7 @@ #include <malloc.h> #include <miiphy.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/types.h> #include <asm/system.h> #include <asm/byteorder.h> diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index fa20f548e5..6d51b9f0c0 100644 --- a/drivers/net/mvneta.c +++ b/drivers/net/mvneta.c @@ -20,7 +20,7 @@ #include <config.h> #include <malloc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <phy.h> #include <miiphy.h> #include <watchdog.h> diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index 900a04c0ee..340b85a710 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -22,7 +22,7 @@ #include <config.h> #include <malloc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <phy.h> #include <miiphy.h> #include <watchdog.h> diff --git a/drivers/net/phy/mv88e6352.c b/drivers/net/phy/mv88e6352.c index f639a42fa9..d2b3ce617e 100644 --- a/drivers/net/phy/mv88e6352.c +++ b/drivers/net/phy/mv88e6352.c @@ -7,7 +7,7 @@ #include <common.h> #include <miiphy.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <mv88e6352.h> #define SMI_HDR ((0x8 | 0x1) << 12) diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index 79c1db2c83..a7c265b980 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -15,7 +15,7 @@ #include <net.h> #include <netdev.h> #include <miiphy.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include "sh_eth.h" diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index be0f38288f..7df4c63acf 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -16,7 +16,7 @@ #include <command.h> #include <tsec.h> #include <fsl_mdio.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/processor.h> #include <asm/io.h> diff --git a/drivers/net/vsc7385.c b/drivers/net/vsc7385.c index c6d6dce4ae..072421062b 100644 --- a/drivers/net/vsc7385.c +++ b/drivers/net/vsc7385.c @@ -16,7 +16,7 @@ #include <common.h> #include <console.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include "vsc7385.h" /* diff --git a/drivers/pci/pci_mvebu.c b/drivers/pci/pci_mvebu.c index 4eedfe1cbb..0f449703de 100644 --- a/drivers/pci/pci_mvebu.c +++ b/drivers/pci/pci_mvebu.c @@ -12,7 +12,7 @@ #include <common.h> #include <pci.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/soc.h> diff --git a/drivers/power/pmic/pmic_tps62362.c b/drivers/power/pmic/pmic_tps62362.c index 2123685a6a..23f9a9c3bc 100644 --- a/drivers/power/pmic/pmic_tps62362.c +++ b/drivers/power/pmic/pmic_tps62362.c @@ -7,7 +7,7 @@ #include <common.h> #include <i2c.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <power/pmic.h> #include <power/tps62362.h> diff --git a/drivers/power/pmic/pmic_tps65218.c b/drivers/power/pmic/pmic_tps65218.c index 0fd0ad478a..f32fa40863 100644 --- a/drivers/power/pmic/pmic_tps65218.c +++ b/drivers/power/pmic/pmic_tps65218.c @@ -7,7 +7,7 @@ #include <common.h> #include <i2c.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <power/pmic.h> #include <power/tps65218.h> diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 7e74212424..4231594776 100644 --- a/drivers/qe/qe.c +++ b/drivers/qe/qe.c @@ -9,7 +9,7 @@ #include <common.h> #include <command.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <linux/immap_qe.h> #include <fsl_qe.h> diff --git a/drivers/qe/uccf.c b/drivers/qe/uccf.c index ae4ca35048..bab5453128 100644 --- a/drivers/qe/uccf.c +++ b/drivers/qe/uccf.c @@ -9,7 +9,7 @@ #include <common.h> #include <malloc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <linux/immap_qe.h> #include "uccf.h" diff --git a/drivers/qe/uec.c b/drivers/qe/uec.c index af97538673..5fd956adce 100644 --- a/drivers/qe/uec.c +++ b/drivers/qe/uec.c @@ -9,7 +9,7 @@ #include <common.h> #include <net.h> #include <malloc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <linux/immap_qe.h> #include "uccf.h" diff --git a/drivers/qe/uec_phy.c b/drivers/qe/uec_phy.c index be90d943f1..96042703e3 100644 --- a/drivers/qe/uec_phy.c +++ b/drivers/qe/uec_phy.c @@ -13,7 +13,7 @@ #include <common.h> #include <net.h> #include <malloc.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/immap_qe.h> #include <asm/io.h> #include "uccf.h" diff --git a/drivers/rtc/at91sam9_rtt.c b/drivers/rtc/at91sam9_rtt.c index a684ad6a6f..18fb09d0ac 100644 --- a/drivers/rtc/at91sam9_rtt.c +++ b/drivers/rtc/at91sam9_rtt.c @@ -23,7 +23,7 @@ #include <command.h> #include <rtc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/arch/hardware.h> #include <asm/arch/at91_rtt.h> #include <asm/arch/at91_gpbr.h> diff --git a/drivers/serial/serial_uniphier.c b/drivers/serial/serial_uniphier.c index ab607b7e65..4ea5304b1d 100644 --- a/drivers/serial/serial_uniphier.c +++ b/drivers/serial/serial_uniphier.c @@ -9,7 +9,7 @@ #include <linux/io.h> #include <linux/serial_reg.h> #include <linux/sizes.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <dm/device.h> #include <serial.h> #include <fdtdec.h> diff --git a/drivers/spi/cadence_qspi.c b/drivers/spi/cadence_qspi.c index 1d50f135c9..1051afb74c 100644 --- a/drivers/spi/cadence_qspi.c +++ b/drivers/spi/cadence_qspi.c @@ -10,7 +10,7 @@ #include <fdtdec.h> #include <malloc.h> #include <spi.h> -#include <asm/errno.h> +#include <linux/errno.h> #include "cadence_qspi.h" #define CQSPI_STIG_READ 0 diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index 1d68379c93..e285d3c1e7 100644 --- a/drivers/spi/cadence_qspi_apb.c +++ b/drivers/spi/cadence_qspi_apb.c @@ -27,7 +27,7 @@ #include <common.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <wait_bit.h> #include <spi.h> #include "cadence_qspi.h" diff --git a/drivers/spi/mxc_spi.c b/drivers/spi/mxc_spi.c index 08815994fe..fc2786e270 100644 --- a/drivers/spi/mxc_spi.c +++ b/drivers/spi/mxc_spi.c @@ -7,7 +7,7 @@ #include <common.h> #include <malloc.h> #include <spi.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/gpio.h> #include <asm/arch/imx-regs.h> diff --git a/drivers/spi/mxs_spi.c b/drivers/spi/mxs_spi.c index 627644b56b..61daeba7b1 100644 --- a/drivers/spi/mxs_spi.c +++ b/drivers/spi/mxs_spi.c @@ -14,7 +14,7 @@ #include <malloc.h> #include <memalign.h> #include <spi.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/spi/rk_spi.c b/drivers/spi/rk_spi.c index bc6dfd8862..105ee4a3ba 100644 --- a/drivers/spi/rk_spi.c +++ b/drivers/spi/rk_spi.c @@ -14,7 +14,7 @@ #include <dm.h> #include <errno.h> #include <spi.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/clock.h> #include <asm/arch/periph.h> diff --git a/drivers/spi/sandbox_spi.c b/drivers/spi/sandbox_spi.c index bad56603ba..092b13b00b 100644 --- a/drivers/spi/sandbox_spi.c +++ b/drivers/spi/sandbox_spi.c @@ -15,7 +15,7 @@ #include <spi_flash.h> #include <os.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/spi.h> #include <asm/state.h> #include <dm/device-internal.h> diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c index 4070803b65..f5bc277fa6 100644 --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c @@ -15,7 +15,7 @@ #undef PACKET_TRACE #include <common.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/gpio.h> #include <asm/hardware.h> diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index 1e23d09c77..ad31703c73 100644 --- a/drivers/usb/gadget/atmel_usba_udc.c +++ b/drivers/usb/gadget/atmel_usba_udc.c @@ -9,7 +9,7 @@ */ #include <common.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/gpio.h> #include <asm/hardware.h> #include <linux/list.h> diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c index d36bcf6467..05c01ce5d6 100644 --- a/drivers/usb/gadget/ci_udc.c +++ b/drivers/usb/gadget/ci_udc.c @@ -14,7 +14,7 @@ #include <net.h> #include <malloc.h> #include <asm/byteorder.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/unaligned.h> #include <linux/types.h> diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c index 64284b06f8..525dc79d27 100644 --- a/drivers/usb/gadget/config.c +++ b/drivers/usb/gadget/config.c @@ -11,7 +11,7 @@ #include <common.h> #include <asm/unaligned.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/list.h> #include <linux/string.h> diff --git a/drivers/usb/gadget/dwc2_udc_otg.c b/drivers/usb/gadget/dwc2_udc_otg.c index 029927f8ac..d72bfdfdd8 100644 --- a/drivers/usb/gadget/dwc2_udc_otg.c +++ b/drivers/usb/gadget/dwc2_udc_otg.c @@ -19,7 +19,7 @@ */ #undef DEBUG #include <common.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/list.h> #include <malloc.h> diff --git a/drivers/usb/gadget/dwc2_udc_otg_phy.c b/drivers/usb/gadget/dwc2_udc_otg_phy.c index e0cbbc0757..0c4620d56d 100644 --- a/drivers/usb/gadget/dwc2_udc_otg_phy.c +++ b/drivers/usb/gadget/dwc2_udc_otg_phy.c @@ -19,7 +19,7 @@ */ #include <common.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/list.h> #include <malloc.h> diff --git a/drivers/usb/gadget/dwc2_udc_otg_priv.h b/drivers/usb/gadget/dwc2_udc_otg_priv.h index b2c1fc4105..c40ecf8aca 100644 --- a/drivers/usb/gadget/dwc2_udc_otg_priv.h +++ b/drivers/usb/gadget/dwc2_udc_otg_priv.h @@ -8,7 +8,7 @@ #ifndef __DWC2_UDC_OTG_PRIV__ #define __DWC2_UDC_OTG_PRIV__ -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/sizes.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c index a53a6dcda3..6d6dbcb09c 100644 --- a/drivers/usb/gadget/epautoconf.c +++ b/drivers/usb/gadget/epautoconf.c @@ -13,7 +13,7 @@ #include <common.h> #include <linux/usb/ch9.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/usb/gadget.h> #include <asm/unaligned.h> #include "gadget_chips.h" diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 9b06f028d6..497b981129 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -10,7 +10,7 @@ #include <common.h> #include <console.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/netdevice.h> #include <linux/usb/ch9.h> #include <linux/usb/cdc.h> diff --git a/drivers/usb/gadget/fotg210.c b/drivers/usb/gadget/fotg210.c index 1d8f58fd72..e061b2e8a6 100644 --- a/drivers/usb/gadget/fotg210.c +++ b/drivers/usb/gadget/fotg210.c @@ -13,7 +13,7 @@ #include <net.h> #include <malloc.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/types.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> diff --git a/drivers/usb/gadget/rndis.c b/drivers/usb/gadget/rndis.c index 48463db0b2..42510a0033 100644 --- a/drivers/usb/gadget/rndis.c +++ b/drivers/usb/gadget/rndis.c @@ -28,7 +28,7 @@ #include <asm/byteorder.h> #include <asm/unaligned.h> -#include <asm/errno.h> +#include <linux/errno.h> #undef RNDIS_PM #undef RNDIS_WAKEUP diff --git a/drivers/usb/gadget/usbstring.c b/drivers/usb/gadget/usbstring.c index 3e24fbf80e..67e98c065d 100644 --- a/drivers/usb/gadget/usbstring.c +++ b/drivers/usb/gadget/usbstring.c @@ -8,7 +8,7 @@ */ #include <common.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index d3acaaecea..eb54df471d 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -8,7 +8,7 @@ #include <common.h> #include <dm.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm-generic/gpio.h> #include <asm/arch/clock.h> diff --git a/drivers/usb/musb-new/musb_core.c b/drivers/usb/musb-new/musb_core.c index dd0443c02e..84cb21b0d6 100644 --- a/drivers/usb/musb-new/musb_core.c +++ b/drivers/usb/musb-new/musb_core.c @@ -79,7 +79,7 @@ #else #include <common.h> #include <usb.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #include <linux/usb/musb.h> diff --git a/drivers/usb/musb-new/musb_core.h b/drivers/usb/musb-new/musb_core.h index 2fe4ed51b3..4ae0ae2659 100644 --- a/drivers/usb/musb-new/musb_core.h +++ b/drivers/usb/musb-new/musb_core.h @@ -21,7 +21,7 @@ #include <linux/usb.h> #include <linux/usb/otg.h> #else -#include <asm/errno.h> +#include <linux/errno.h> #endif #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> diff --git a/drivers/usb/musb-new/musb_gadget.h b/drivers/usb/musb-new/musb_gadget.h index ddd567bbb5..bd1d4f61ff 100644 --- a/drivers/usb/musb-new/musb_gadget.h +++ b/drivers/usb/musb-new/musb_gadget.h @@ -14,7 +14,7 @@ #include <linux/list.h> #ifdef __UBOOT__ #include <asm/byteorder.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> #endif diff --git a/drivers/usb/musb-new/musb_uboot.c b/drivers/usb/musb-new/musb_uboot.c index 6ce528c81e..ea71f75947 100644 --- a/drivers/usb/musb-new/musb_uboot.c +++ b/drivers/usb/musb-new/musb_uboot.c @@ -4,7 +4,7 @@ #ifdef CONFIG_ARCH_SUNXI #include <asm/arch/usb_phy.h> #endif -#include <asm/errno.h> +#include <linux/errno.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> diff --git a/drivers/video/ati_radeon_fb.c b/drivers/video/ati_radeon_fb.c index 574895155d..07a29eaba1 100644 --- a/drivers/video/ati_radeon_fb.c +++ b/drivers/video/ati_radeon_fb.c @@ -22,7 +22,7 @@ #include <bios_emul.h> #include <pci.h> #include <asm/processor.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <malloc.h> #include <video_fb.h> diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 468f385d8d..bbd384df5e 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c @@ -19,7 +19,7 @@ #include <linux/list.h> #include <linux/fb.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/hardware.h> diff --git a/drivers/video/ipu_common.c b/drivers/video/ipu_common.c index 5676a0f083..f8d4488fce 100644 --- a/drivers/video/ipu_common.c +++ b/drivers/video/ipu_common.c @@ -16,7 +16,7 @@ #include <linux/types.h> #include <linux/err.h> #include <asm/io.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/arch/imx-regs.h> #include <asm/arch/crm_regs.h> #include <div64.h> diff --git a/drivers/video/ipu_disp.c b/drivers/video/ipu_disp.c index cbac9f72fc..47d741796e 100644 --- a/drivers/video/ipu_disp.c +++ b/drivers/video/ipu_disp.c @@ -15,7 +15,7 @@ #include <common.h> #include <linux/types.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/sys_proto.h> diff --git a/drivers/video/mx3fb.c b/drivers/video/mx3fb.c index 3f10d5c2d9..51d06d6677 100644 --- a/drivers/video/mx3fb.c +++ b/drivers/video/mx3fb.c @@ -12,7 +12,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include "videomodes.h" diff --git a/drivers/video/mxc_ipuv3_fb.c b/drivers/video/mxc_ipuv3_fb.c index 265274b9d6..0d0a0a97ff 100644 --- a/drivers/video/mxc_ipuv3_fb.c +++ b/drivers/video/mxc_ipuv3_fb.c @@ -12,7 +12,7 @@ */ #include <common.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/global_data.h> #include <linux/string.h> #include <linux/list.h> diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index ddbb118d70..3cc03cadee 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -12,7 +12,7 @@ #include <asm/arch/imx-regs.h> #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/imx-common/dma.h> diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c index 521eb75a82..bea3e69dd3 100644 --- a/drivers/video/s3c-fb.c +++ b/drivers/video/s3c-fb.c @@ -11,7 +11,7 @@ #include <malloc.h> #include <video_fb.h> -#include <asm/errno.h> +#include <linux/errno.h> #include <asm/io.h> #include <asm/arch/s3c24x0_cpu.h> |