net: phy: Move linkmode helpers to somewhere public
authorAndrew Lunn <andrew@lunn.ch>
Sat, 29 Sep 2018 21:04:09 +0000 (23:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 05:55:35 +0000 (22:55 -0700)
commitb31cdffa2329fe330cd304ca26c250dd1520fb0a
tree22cf7c69b47d697ce32510de3edd27984ae8cf47
parent97ea8ac360c233e6454bfe6510e7b827a57008af
net: phy: Move linkmode helpers to somewhere public

phylink has some useful helpers to working with linkmode bitmaps.
Move them to there own header so other code can use them.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
include/linux/linkmode.h [new file with mode: 0644]
include/linux/mii.h
include/linux/phy.h