drivers/mmc/dw_mmc - remove extra arch specific "asm/arch/clk.h" inclusion
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.
Signed-off-by Alexey Brodkin <[email protected]>
Cc Mischa Jonker <[email protected]>
Cc Andy Fleming <[email protected]>
Cc Rajeshwari Shinde <[email protected]>
Cc Amar <[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
@@ -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
Andy Fleming
AppliedQuoted 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_mmcdriver could be built for arches other than ARM. For ARM driver still builds without it.
Quoted 8 lines
Signed-off-by Alexey Brodkin <[email protected]>Cc Mischa Jonker <[email protected]>Cc Andy Fleming <[email protected]>Cc Rajeshwari Shinde <[email protected]>Cc Amar <[email protected]>Cc Minkyu Kang <[email protected]>Cc Jaehoon Chung <[email protected]>
Applied, thanks!
Andy