]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 06:52:47 +0000 (07:52 +0100)
commit297df25b6cf0eaaa0caec482f278a012e278d380
treeef5b1c9339b040fb0b07114adea06afb4e8296d2
parent37665c38b3705e89bf5ad620082c79372dd318c3
net: xgene: Move shared header file into include/linux

[ Upstream commit 2debee5fcb06eb17c7d01a00f90b2fa692b092a1 ]

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>
Stable-dep-of: 7083df59abbc ("net: mdio-mux-meson-g12a: force internal PHY off on mux switch")
Signed-off-by: Sasha Levin <sashal@kernel.org>
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]