]> Pileus Git - ~andy/linux/commitdiff
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 ade35dde5b51593638327ab5a640f995fb0c08a3..0f13c5daf3fb1cf81f1f24e293133f33c4fda369 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 a891ad00054bc55beaf0bcbf19d2c4f53f7a7e99..4ba2135474d1a118a7a86b579aae38b11eb2c56a 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);