]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: dw_mmc: remove the duplicated header file
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 19 Jul 2016 07:33:34 +0000 (16:33 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 5 Aug 2016 02:21:24 +0000 (11:21 +0900)
<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>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/dw_mmc.c
drivers/mmc/exynos_dw_mmc.c

index b58c2824167328151357035b39202f2b78167ea7..3ca9743ba06046b16af5ac932928b576f120f7a0 100644 (file)
@@ -13,7 +13,6 @@
 #include <memalign.h>
 #include <mmc.h>
 #include <dwmmc.h>
-#include <asm-generic/errno.h>
 
 #define PAGE_SIZE 4096
 
index 283befccfbe6ceca869b4cc51c1df0628570aaa1..57271f18b0b4b165a278615b1c64917445f590e6 100644 (file)
 #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