summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/Makefile
diff options
context:
space:
mode:
authorRussell King2017-03-21 17:36:37 +0100
committerDavid S. Miller2017-03-22 20:42:59 +0100
commit9860118b58241169f67ba77dfeb935fcf53ce4cd (patch)
tree5a4f1bde6b7ff21acbcade0580b6e89018466b3e /drivers/net/phy/Makefile
parentnet: stmmac: Use AVB mode by default (diff)
downloadkernel-qcow2-linux-9860118b58241169f67ba77dfeb935fcf53ce4cd.tar.gz
kernel-qcow2-linux-9860118b58241169f67ba77dfeb935fcf53ce4cd.tar.xz
kernel-qcow2-linux-9860118b58241169f67ba77dfeb935fcf53ce4cd.zip
net: phy: move phy MMD accessors to phy-core.c
Move the phy_(read|write)__mmd() helpers out of line, they will become our main MMD accessor functions, and so will be a little more complex. This complexity doesn't belong in an inline function. Also move the _indirect variants as well to keep like functionality together. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/Makefile')
-rw-r--r--drivers/net/phy/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile
index 407b0b601ea8..82d915614646 100644
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
@@ -1,7 +1,7 @@
# Makefile for Linux PHY drivers and MDIO bus drivers
libphy-y := phy.o phy_device.o mdio_bus.o mdio_device.o \
- mdio-boardinfo.o
+ mdio-boardinfo.o phy-core.o
libphy-$(CONFIG_SWPHY) += swphy.o
libphy-$(CONFIG_LED_TRIGGER_PHY) += phy_led_triggers.o