Skip to contentSkip to conversation

drivers/mmc/dw_mmc - remove extra arch specific "asm/arch/clk.h" inclusion

PATCH Applied Alexey Brodkin 2 participants 2 messages Jul 15, 2013 – Jul 17, 2013 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/mmc/dw_mmc - remove extra arch specific "asm/arch/clk.h" inclusion

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.

Cc Mischa Jonker <[email protected]>
Cc Andy Fleming <[email protected]>
Cc Rajeshwari Shinde <[email protected]>
Cc Minkyu Kang <[email protected]>
Cc Jaehoon Chung <[email protected]>
---
 drivers/mmc/dw_mmc.c |    1 -
 1 file changed, 1 deletion(-)
drivers/mmc/dw_mmc.c +0 -1
index 5da20ed..684a2a8 100644
@@ -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
Signature · 1 line
1.7.10.4
Applied
#1 lore raw
Quoted 6 lines · Alexey Brodkin

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.

Quoted 8 lines
Cc Mischa Jonker <[email protected]>
Cc Andy Fleming <[email protected]>
Cc Rajeshwari Shinde <[email protected]>
Cc Minkyu Kang <[email protected]>
Cc Jaehoon Chung <[email protected]>

Applied, thanks!

Andy