net: xgene: Move shared header file into include/linux
authorAndrew Lunn <andrew@lunn.ch>
Thu, 27 Aug 2020 02:00:30 +0000 (04:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2020 13:55:50 +0000 (06:55 -0700)
commit232e15e1d7ddb191c28248cb681f4544c0ff1c54
treea97546f38333a9cead791193e6cdf0f8711fad11
parentfcba68bd75bb1d42b3aec7f471d382a9e639a672
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>
drivers/net/ethernet/apm/xgene/xgene_enet_main.h
drivers/net/phy/mdio-xgene.c
drivers/net/phy/mdio-xgene.h [deleted file]
include/linux/mdio/mdio-xgene.h [new file with mode: 0644]