Patchwork [v2] fec: Remove unneeded asm header files

login
register
mail settings
Submitter Fabio Estevam
Date April 18, 2013, 12:54 p.m.
Message ID <1366289682-3889-1-git-send-email-fabio.estevam@freescale.com>
Download mbox | patch
Permalink /patch/237635/
State Accepted
Delegated to: David Miller
Headers show

Comments

Fabio Estevam - April 18, 2013, 12:54 p.m.
There is nothing in the driver that requires <asm/coldfire.h> and
<asm/mcfsim.h>.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Changes since v1:
- Keep <asm/cacheflush.h> CONFIG_M532x needs it.

 drivers/net/ethernet/freescale/fec_main.c |    5 -----
 1 file changed, 5 deletions(-)
David Miller - April 18, 2013, 6:56 p.m.
From: Fabio Estevam <fabio.estevam@freescale.com>
Date: Thu, 18 Apr 2013 09:54:39 -0300

> There is nothing in the driver that requires <asm/coldfire.h> and
> <asm/mcfsim.h>.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 719177b..94a4d83 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -52,11 +52,6 @@ 
 
 #include <asm/cacheflush.h>
 
-#ifndef CONFIG_ARM
-#include <asm/coldfire.h>
-#include <asm/mcfsim.h>
-#endif
-
 #include "fec.h"
 
 #if defined(CONFIG_ARM)