summaryrefslogtreecommitdiffstats
path: root/include/linux/Kbuild
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-02-29 14:23:27 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-01 16:41:22 -0500
commit9c717758c9289331e22c88ef69d8c248def9cd29 (patch)
tree316ed50fa343cb22f55a507dc2324d8287c4b673 /include/linux/Kbuild
parent48752f6513012a1b078da08b145d5c40a644f058 (diff)
downloadlinux-stable-9c717758c9289331e22c88ef69d8c248def9cd29.tar.gz
linux-stable-9c717758c9289331e22c88ef69d8c248def9cd29.tar.bz2
linux-stable-9c717758c9289331e22c88ef69d8c248def9cd29.zip
mdio: Export mdio.h to userland
The ID packing definitions are needed by userland and the register definitions may also be useful there. Do not export mdio_phy_id_{is_c45,prtad,devad}() as the use of bool is problematic and it's not that useful to export only a subset of these. Do not export MDIO_SUPPORTS_{C22,C45} directly; these flags are only exposed to userland through struct ethtool_cmd so they should be defined alongside that with appropriate names. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/Kbuild')
-rw-r--r--include/linux/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/Kbuild b/include/linux/Kbuild
index c94e71781b79..4b0b7ed4a999 100644
--- a/include/linux/Kbuild
+++ b/include/linux/Kbuild
@@ -238,6 +238,7 @@ header-y += magic.h
header-y += major.h
header-y += map_to_7segment.h
header-y += matroxfb.h
+header-y += mdio.h
header-y += media.h
header-y += mempolicy.h
header-y += meye.h