[PATCH] amd-xgbe: Remove unnecessary include

Subsystems: amd xgbe driver, networking drivers, the rest

STALE4476d

2 messages, 2 authors, 2014-06-06 · open the first message on its own page

[PATCH] amd-xgbe: Remove unnecessary include

From: Tom Lendacky <thomas.lendacky@amd.com>
Date: 2014-06-06 13:52:27

The include of asm/cputype.h breaks the powerpc build. This
include was accidentally left in from driver debugging and
can be removed.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
---
 drivers/net/ethernet/amd/xgbe/xgbe-dev.c |    1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-dev.c b/drivers/net/ethernet/amd/xgbe/xgbe-dev.c
index 36bc86e..002293b 100644
--- a/drivers/net/ethernet/amd/xgbe/xgbe-dev.c
+++ b/drivers/net/ethernet/amd/xgbe/xgbe-dev.c
@@ -116,7 +116,6 @@
 
 #include <linux/phy.h>
 #include <linux/clk.h>
-#include <asm/cputype.h>
 
 #include "xgbe.h"
 #include "xgbe-common.h"

Re: [PATCH] amd-xgbe: Remove unnecessary include

From: David Miller <davem@davemloft.net>
Date: 2014-06-06 20:11:12

From: Tom Lendacky <thomas.lendacky@amd.com>
Date: Fri, 6 Jun 2014 08:52:19 -0500
The include of asm/cputype.h breaks the powerpc build. This
include was accidentally left in from driver debugging and
can be removed.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Since Stephen Rothwell reported this problem to you, you should
give him credit for this using the "Reported-by: " tag.

I took care of it this time, but you must do this in the future.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help