summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-07-19 16:33:34 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2016-08-05 11:21:24 +0900
commitccd60a8524aa364e6f3c06e4526f2ddd61f1cf25 (patch)
tree2fecc58117f9de007780c21c4ac51e09dbcd3b99 /drivers/mmc
parenta034ec06ff1d558bbe11d5ee05edbb4de3ee2215 (diff)
downloadu-boot-imx-ccd60a8524aa364e6f3c06e4526f2ddd61f1cf25.zip
u-boot-imx-ccd60a8524aa364e6f3c06e4526f2ddd61f1cf25.tar.gz
u-boot-imx-ccd60a8524aa364e6f3c06e4526f2ddd61f1cf25.tar.bz2
mmc: dw_mmc: remove the duplicated header file
<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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/dw_mmc.c1
-rw-r--r--drivers/mmc/exynos_dw_mmc.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index b58c282..3ca9743 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