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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2020 13:55:50 +0000 (06:55 -0700)
commitfcba68bd75bb1d42b3aec7f471d382a9e639a672
treec644f0420a77433594514771b443f893dd40ae95
parent2fa4e4b799e191530edbae4b96b85d4486e55053
net/phy/mdio-i2c: Move header file to include/linux/mdio

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>
MAINTAINERS
drivers/net/phy/mdio-i2c.c
drivers/net/phy/sfp.c
include/linux/mdio/mdio-i2c.h [moved from drivers/net/phy/mdio-i2c.h with 100% similarity]