mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 11:54:37 +08:00
net: xgene: Move shared header file into include/linux
This header file is currently included into the ethernet driver via a relative path into the PHY subsystem. This is bad practice, and causes issues for the upcoming move of the MDIO driver. Move the header file into include/linux to clean this up. v2: Move header to include/linux/mdio Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fcba68bd75
commit
232e15e1d7
@ -18,6 +18,7 @@
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/of_net.h>
|
||||
#include <linux/of_mdio.h>
|
||||
#include <linux/mdio/mdio-xgene.h>
|
||||
#include <linux/module.h>
|
||||
#include <net/ip.h>
|
||||
#include <linux/prefetch.h>
|
||||
@ -26,7 +27,6 @@
|
||||
#include "xgene_enet_hw.h"
|
||||
#include "xgene_enet_cle.h"
|
||||
#include "xgene_enet_ring2.h"
|
||||
#include "../../../phy/mdio-xgene.h"
|
||||
|
||||
#define ETHER_MIN_PACKET 64
|
||||
#define ETHER_STD_PACKET 1518
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <linux/efi.h>
|
||||
#include <linux/if_vlan.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/mdio/mdio-xgene.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/of_platform.h>
|
||||
#include <linux/of_net.h>
|
||||
@ -18,7 +19,6 @@
|
||||
#include <linux/prefetch.h>
|
||||
#include <linux/phy.h>
|
||||
#include <net/ip.h>
|
||||
#include "mdio-xgene.h"
|
||||
|
||||
static bool xgene_mdio_status;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user