浏览代码

net: Move sungem_phy.h under include/linux

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>
David S. Miller 14 年之前
父节点
当前提交
2bb698412d
共有 3 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/net/ethernet/sun/sungem.c
  2. 1 1
      drivers/net/ethernet/toshiba/spider_net.h
  3. 0 0
      include/linux/sungem_phy.h

+ 1 - 1
drivers/net/ethernet/sun/sungem.c

@@ -59,7 +59,7 @@
 #include <asm/pmac_feature.h>
 #include <asm/pmac_feature.h>
 #endif
 #endif
 
 
-#include "sungem_phy.h"
+#include <linux/sungem_phy.h>
 #include "sungem.h"
 #include "sungem.h"
 
 
 /* Stripping FCS is causing problems, disabled for now */
 /* Stripping FCS is causing problems, disabled for now */

+ 1 - 1
drivers/net/ethernet/toshiba/spider_net.h

@@ -27,7 +27,7 @@
 
 
 #define VERSION "2.0 B"
 #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_stop(struct net_device *netdev);
 extern int spider_net_open(struct net_device *netdev);
 extern int spider_net_open(struct net_device *netdev);

+ 0 - 0
drivers/net/ethernet/sun/sungem_phy.h → include/linux/sungem_phy.h