summaryrefslogtreecommitdiffstats
path: root/include/linux/mii.h
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2018-09-29 23:04:09 +0200
committerDavid S. Miller <davem@davemloft.net>2018-10-01 22:55:35 -0700
commitb31cdffa2329fe330cd304ca26c250dd1520fb0a (patch)
tree22cf7c69b47d697ce32510de3edd27984ae8cf47 /include/linux/mii.h
parent97ea8ac360c233e6454bfe6510e7b827a57008af (diff)
downloadlinux-b31cdffa2329fe330cd304ca26c250dd1520fb0a.tar.gz
linux-b31cdffa2329fe330cd304ca26c250dd1520fb0a.tar.bz2
linux-b31cdffa2329fe330cd304ca26c250dd1520fb0a.zip
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>
Diffstat (limited to 'include/linux/mii.h')
-rw-r--r--include/linux/mii.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mii.h b/include/linux/mii.h
index 55000ee5c6ad..567047ef0309 100644
--- a/include/linux/mii.h
+++ b/include/linux/mii.h
@@ -10,6 +10,7 @@
#include <linux/if.h>
+#include <linux/linkmode.h>
#include <uapi/linux/mii.h>
struct ethtool_cmd;