diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-08-27 04:00:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-27 06:55:50 -0700 |
commit | 232e15e1d7ddb191c28248cb681f4544c0ff1c54 (patch) | |
tree | a97546f38333a9cead791193e6cdf0f8711fad11 /drivers/net/ethernet/apm | |
parent | fcba68bd75bb1d42b3aec7f471d382a9e639a672 (diff) | |
download | lwn-232e15e1d7ddb191c28248cb681f4544c0ff1c54.tar.gz lwn-232e15e1d7ddb191c28248cb681f4544c0ff1c54.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/apm')
-rw-r--r-- | drivers/net/ethernet/apm/xgene/xgene_enet_main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_main.h b/drivers/net/ethernet/apm/xgene/xgene_enet_main.h index d35a338120cf..643f5e646740 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_main.h +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_main.h @@ -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 |