Patchwork [1/2] net: ethernet: davinci_emac: Remove unnecessary #include

login
register
mail settings
Submitter Mark A. Greer
Date July 21, 2012, 1:12 a.m.
Message ID <1342833161-3314-1-git-send-email-mgreer@animalcreek.com>
Download mbox | patch
Permalink /patch/172394/
State Superseded
Delegated to: David Miller
Headers show

Comments

Mark A. Greer - July 21, 2012, 1:12 a.m.
From: "Mark A. Greer" <mgreer@animalcreek.com>

The '#include <mach/mux.h>' line in davinci_emac.c
causes a compile error because that header file
isn't found.  It turns out that the #include isn't
needed because the driver isn't (and shoudn't be)
touching the mux anyway, so remove it.

CC: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
---
 drivers/net/ethernet/ti/davinci_emac.c | 2 --
 1 file changed, 2 deletions(-)
Mark A. Greer - July 21, 2012, 1:16 a.m.
Sigh, please ignore this series.  I'll resend with [0/2].
--
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/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c
index b298ab0..1a9c43f 100644
--- a/drivers/net/ethernet/ti/davinci_emac.c
+++ b/drivers/net/ethernet/ti/davinci_emac.c
@@ -63,8 +63,6 @@ 
 #include <linux/of_irq.h>
 #include <linux/of_net.h>
 
-#include <mach/mux.h>
-
 #include <asm/irq.h>
 #include <asm/page.h>