]> git.baikalelectronics.ru Git - kernel.git/commit
net/phy/mdio-i2c: Move header file to include/linux/mdio
authorAndrew Lunn <andrew@lunn.ch>
Thu, 27 Aug 2020 02:00:29 +0000 (04:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Feb 2023 06:52:46 +0000 (07:52 +0100)
commitc6993cc012a606278b855ebc64bfebf318e4b195
tree712b13bc6d544c453664c5bd662fa5c92ec0309f
parentd10bef6b5581a9cf4b84614f536498f1716688bb
net/phy/mdio-i2c: Move header file to include/linux/mdio

[ Upstream commit 879a00d2b32cf39e1673406598151de277a71cc8 ]

In preparation for moving all MDIO drivers into drivers/net/mdio, move
the mdio-i2c header file into include/linux/mdio so it can be used by
both the MDIO driver and the SFP code which instantiates I2C MDIO
busses.

v2:
Add 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>
MAINTAINERS
drivers/net/phy/mdio-i2c.c
drivers/net/phy/mdio-i2c.h [deleted file]
drivers/net/phy/sfp.c
include/linux/mdio/mdio-i2c.h [new file with mode: 0644]