net: Move sungem_phy.h under include/linux
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2011 05:52:04 +0000 (22:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Aug 2011 05:52:04 +0000 (22:52 -0700)
Fixes build failures of the spider_net driver because it tries
to use a convoluted path to include this header.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sungem.c
drivers/net/ethernet/toshiba/spider_net.h
include/linux/sungem_phy.h [moved from drivers/net/ethernet/sun/sungem_phy.h with 100% similarity]

index ade35dd..0f13c5d 100644 (file)
@@ -59,7 +59,7 @@
 #include <asm/pmac_feature.h>
 #endif
 
-#include "sungem_phy.h"
+#include <linux/sungem_phy.h>
 #include "sungem.h"
 
 /* Stripping FCS is causing problems, disabled for now */
index a891ad0..4ba2135 100644 (file)
@@ -27,7 +27,7 @@
 
 #define VERSION "2.0 B"
 
-#include "./ethernet/sun/sungem_phy.h"
+#include <linux/sungem_phy.h>
 
 extern int spider_net_stop(struct net_device *netdev);
 extern int spider_net_open(struct net_device *netdev);