summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-02-18 10:39:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-02-19 08:38:58 +0100
commit3a11261b5062eb5cc758450e79af36be68eca714 (patch)
tree749cfa89ea7859e175d24688810d77e7105af55d /drivers
parent251b2b17b35e7c78d53e82695650ce66925823b2 (diff)
downloadbarebox-3a11261b5062eb5cc758450e79af36be68eca714.tar.gz
barebox-3a11261b5062eb5cc758450e79af36be68eca714.tar.xz
drivers: replaces references to <asm-generic/*.h>
With <linux/math64.h> included for do_div instead of <asm-generic/div.h>, there remains only 3 references to asm-generic headers in drivers/. Fix them up. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mci/dw_mmc.c2
-rw-r--r--drivers/mci/imx-esdhc-pbl.c2
-rw-r--r--drivers/mtd/nand/nand_s3c24xx.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mci/dw_mmc.c b/drivers/mci/dw_mmc.c
index 8249403eb7..7979568841 100644
--- a/drivers/mci/dw_mmc.c
+++ b/drivers/mci/dw_mmc.c
@@ -19,7 +19,7 @@
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/err.h>
-#include <asm-generic/errno.h>
+#include <errno.h>
#include "dw_mmc.h"
diff --git a/drivers/mci/imx-esdhc-pbl.c b/drivers/mci/imx-esdhc-pbl.c
index 0cb32b46f1..c3a8b377e2 100644
--- a/drivers/mci/imx-esdhc-pbl.c
+++ b/drivers/mci/imx-esdhc-pbl.c
@@ -6,7 +6,7 @@
#include <io.h>
#include <mci.h>
#include <linux/sizes.h>
-#include <asm-generic/sections.h>
+#include <asm/sections.h>
#include <asm/cache.h>
#include <mach/xload.h>
#ifdef CONFIG_ARCH_IMX
diff --git a/drivers/mtd/nand/nand_s3c24xx.c b/drivers/mtd/nand/nand_s3c24xx.c
index 59bd6c9fed..f1d1441f50 100644
--- a/drivers/mtd/nand/nand_s3c24xx.c
+++ b/drivers/mtd/nand/nand_s3c24xx.c
@@ -32,7 +32,7 @@
#include <mach/s3c-iomap.h>
#include <mach/s3c24xx-nand.h>
#include <io.h>
-#include <asm-generic/errno.h>
+#include <errno.h>
#include <asm/sections.h>
#ifdef CONFIG_S3C_NAND_BOOT