public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] mmc: dw_mmc: remove the duplicated header file
@ 2016-07-19  7:33 Jaehoon Chung
  2016-07-19  7:33 ` [U-Boot] [PATCH 2/3] mmc: fsl_esdhc: remove the duplcated " Jaehoon Chung
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Jaehoon Chung @ 2016-07-19  7:33 UTC (permalink / raw)
  To: u-boot

<asm-generic/errno.h> is already included in <errno.h>.
It can use <errno.h> instead of <asm-generic/errno.h>

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
---
 drivers/mmc/dw_mmc.c        | 1 -
 drivers/mmc/exynos_dw_mmc.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index 2cf7bae..8687368 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -13,7 +13,6 @@
 #include <memalign.h>
 #include <mmc.h>
 #include <dwmmc.h>
-#include <asm-generic/errno.h>
 
 #define PAGE_SIZE 4096
 
diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c
index 283befc..57271f1 100644
--- a/drivers/mmc/exynos_dw_mmc.c
+++ b/drivers/mmc/exynos_dw_mmc.c
@@ -10,12 +10,12 @@
 #include <fdtdec.h>
 #include <libfdt.h>
 #include <malloc.h>
+#include <errno.h>
 #include <asm/arch/dwmmc.h>
 #include <asm/arch/clk.h>
 #include <asm/arch/pinmux.h>
 #include <asm/arch/power.h>
 #include <asm/gpio.h>
-#include <asm-generic/errno.h>
 
 #define	DWMMC_MAX_CH_NUM		4
 #define	DWMMC_MAX_FREQ			52000000
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-05  2:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-19  7:33 [U-Boot] [PATCH 1/3] mmc: dw_mmc: remove the duplicated header file Jaehoon Chung
2016-07-19  7:33 ` [U-Boot] [PATCH 2/3] mmc: fsl_esdhc: remove the duplcated " Jaehoon Chung
2016-07-23  2:57   ` Simon Glass
2016-08-05  2:26   ` [U-Boot] [U-Boot, " Jaehoon Chung
2016-07-19  7:33 ` [U-Boot] [PATCH 3/3] mmc: use the generic error number Jaehoon Chung
2016-07-23  2:57   ` Simon Glass
2016-07-25  2:32     ` Minkyu Kang
2016-08-05  2:26   ` [U-Boot] [U-Boot,3/3] " Jaehoon Chung
2016-07-23  2:57 ` [U-Boot] [PATCH 1/3] mmc: dw_mmc: remove the duplicated header file Simon Glass
2016-08-05  2:25 ` [U-Boot] [U-Boot, " Jaehoon Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox