diff mbox

[U-Boot] arm: socfpga: Nuke useless include

Message ID 1459458472-10869-1-git-send-email-marex@denx.de
State Superseded
Delegated to: Marek Vasut
Headers show

Commit Message

Marek Vasut March 31, 2016, 9:07 p.m. UTC
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.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
---
 arch/arm/mach-socfpga/misc.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Chin Liang See April 1, 2016, 1:36 p.m. UTC | #1
On Thu, 2016-03-31 at 23:07 +0200, Marek Vasut wrote:
> 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.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> Cc: Chin Liang See <clsee@altera.com>
> ---
>  arch/arm/mach-socfpga/misc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach
> -socfpga/misc.c
> index ce3ff0a..ebaa736 100644
> --- a/arch/arm/mach-socfpga/misc.c
> +++ b/arch/arm/mach-socfpga/misc.c
> @@ -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.

>  #include <asm/arch/nic301.h>
>  #include <asm/arch/scu.h>
>  #include <asm/pl310.h>

Acked-by: Chin Liang See <clsee@altera.com>

Thanks
Chin Liang
Marek Vasut April 1, 2016, 3:06 p.m. UTC | #2
On 04/01/2016 03:36 PM, Chin Liang See wrote:
> On Thu, 2016-03-31 at 23:07 +0200, Marek Vasut wrote:
>> 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.
>>
>> Signed-off-by: Marek Vasut <marex@denx.de>
>> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
>> Cc: Chin Liang See <clsee@altera.com>
>> ---
>>  arch/arm/mach-socfpga/misc.c | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach
>> -socfpga/misc.c
>> index ce3ff0a..ebaa736 100644
>> --- a/arch/arm/mach-socfpga/misc.c
>> +++ b/arch/arm/mach-socfpga/misc.c
>> @@ -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!

>>  #include <asm/arch/nic301.h>
>>  #include <asm/arch/scu.h>
>>  #include <asm/pl310.h>
> 
> Acked-by: Chin Liang See <clsee@altera.com>
diff mbox

Patch

diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c
index ce3ff0a..ebaa736 100644
--- a/arch/arm/mach-socfpga/misc.c
+++ b/arch/arm/mach-socfpga/misc.c
@@ -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>