[U-Boot] [PATCH] drivers/mmc/dw_mmc - remove extra arch specific "asm/arch/clk.h" inclusion

Alexey Brodkin Alexey.Brodkin at synopsys.com
Mon Jul 15 13:30:30 CEST 2013


1. No contents of "asm/arch/clk.h" is used within "dw_mmc.c".
2. If arch doesn't have "asm/arch/clk.h" driver won't build.

Without mentioned inclusion dw_mmc driver could be built for arches
other than ARM. For ARM driver still builds without it.

Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>

Cc: Mischa Jonker <mjonker at synopsys.com>
Cc: Andy Fleming <afleming at gmail.com>
Cc: Rajeshwari Shinde <rajeshwari.s at samsung.com>
Cc: Amar <amarendra.xt at samsung.com>
Cc: Minkyu Kang <mk7.kang at samsung.com>
Cc: Jaehoon Chung <jh80.chung at samsung.com>
---
 drivers/mmc/dw_mmc.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index 5da20ed..684a2a8 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -23,7 +23,6 @@
 #include <malloc.h>
 #include <mmc.h>
 #include <dwmmc.h>
-#include <asm/arch/clk.h>
 #include <asm-generic/errno.h>
 
 #define PAGE_SIZE 4096
-- 
1.7.10.4



More information about the U-Boot mailing list