Skip to contentSkip to conversation

arm: socfpga: Nuke useless include

PATCH New Marek Vasut 2 participants 3 messages Mar 31, 2016 – Apr 1, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: socfpga: Nuke useless include

The dwmmc.h include was forgotten during the migration of dwmmc probing to DM. Since the shiny DM is in place now, remove this relic of the past.

Cc Dinh Nguyen <[email protected]>
Cc Chin Liang See <[email protected]>
---
 arch/arm/mach-socfpga/misc.c | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-socfpga/misc.c +0 -1
index ce3ff0a..ebaa736 100644
@@ -16,7 +16,6 @@
 #include <asm/arch/reset_manager.h>
 #include <asm/arch/scan_manager.h>
 #include <asm/arch/system_manager.h>
-#include <asm/arch/dwmmc.h>
 #include <asm/arch/nic301.h>
 #include <asm/arch/scu.h>
 #include <asm/pl310.h>
Signature · 1 line
2.7.0
#1 lore raw

PATCH 1/1 arm: socfpga: Nuke useless include

Quoted 17 lines · Marek Vasut

The dwmmc.h include was forgotten during the migration of dwmmc probing to DM. Since the shiny DM is in place now, remove this relic of the past.

Cc Dinh Nguyen <[email protected]>
Cc Chin Liang See <[email protected]>
---
 arch/arm/mach-socfpga/misc.c | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach renamed from arch/arm/mach-socfpga/misc.c +0 -1
-socfpga/misc.c

index ce3ff0a..ebaa736 100644

arch/arm/mach-socfpga/misc.c line 19

Quoted 4 lines
arch/arm/mach-socfpga/misc.c +0 -1
@@ -16,7 +16,6 @@
 #include <asm/arch/reset_manager.h>
 #include <asm/arch/scan_manager.h>
 #include <asm/arch/system_manager.h>
-#include <asm/arch/dwmmc.h>

You might want to delete the header file itself.

arch/arm/mach-socfpga/misc.c line 21

Quoted 3 lines
arch/arm/mach-socfpga/misc.c +0 -0
 #include <asm/arch/nic301.h>
 #include <asm/arch/scu.h>
 #include <asm/pl310.h>

Thanks
Chin Liang

#2 lore raw

PATCH 1/1 arm: socfpga: Nuke useless include

Quoted 12 lines · Chin Liang See
Quoted 11 lines · Marek Vasut

The dwmmc.h include was forgotten during the migration of dwmmc probing to DM. Since the shiny DM is in place now, remove this relic of the past.

Cc Dinh Nguyen <[email protected]>
Cc Chin Liang See <[email protected]>
---
 arch/arm/mach-socfpga/misc.c | 1 -
 1 file changed, 1 deletion(-)
Quoted 12 lines

arch/arm/mach-socfpga/misc.c line 19

Quoted 10 lines
arch/arm/mach renamed from arch/arm/mach-socfpga/misc.c +0 -1
-socfpga/misc.c

index ce3ff0a..ebaa736 100644

arch/arm/mach-socfpga/misc.c +0 -1
@@ -16,7 +16,6 @@
 #include <asm/arch/reset_manager.h>
 #include <asm/arch/scan_manager.h>
 #include <asm/arch/system_manager.h>
-#include <asm/arch/dwmmc.h>

You might want to delete the header file itself.

Good catch, thanks!

Quoted 5 lines

arch/arm/mach-socfpga/misc.c line 21

Quoted 3 lines
arch/arm/mach-socfpga/misc.c +0 -0
 #include <asm/arch/nic301.h>
 #include <asm/arch/scu.h>
 #include <asm/pl310.h>
Signature · 2 lines
Best regards,
Marek Vasut