]> 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)
commitbf3e0e9f5ef65e67674547f6d7a4ebcc4e7622f0
treeef5b1c9339b040fb0b07114adea06afb4e8296d2
parentc6993cc012a606278b855ebc64bfebf318e4b195
net: xgene: Move shared header file into include/linux

[ Upstream commit fea6d3563e07a495eb3f987a2c1bd0da28e8eaa6 ]

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]