]> 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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2020 13:55:50 +0000 (06:55 -0700)
commit879a00d2b32cf39e1673406598151de277a71cc8
treec644f0420a77433594514771b443f893dd40ae95
parent29a10c6897b7c83dd7135068b9c3f827f7eb74b3
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/mdio-i2c.h [deleted file]
drivers/net/phy/sfp.c
include/linux/mdio/mdio-i2c.h [new file with mode: 0644]