diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-06-23 14:50:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-27 10:40:57 -0400 |
commit | 5ae68b0ce134f9cadae2668da82d5f9a77523314 (patch) | |
tree | 84197594d3be3f377a2a14963a3968b6ec0631bf /drivers/net/phy/Makefile | |
parent | 5db15872c5370d9ae7b1d1c972a48b598b23b824 (diff) | |
download | op-kernel-dev-5ae68b0ce134f9cadae2668da82d5f9a77523314.zip op-kernel-dev-5ae68b0ce134f9cadae2668da82d5f9a77523314.tar.gz |
phy: move fixed_phy MII register generation to a library
Move the fixed_phy MII register generation to a library to allow other
software phy implementations to use this code.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/Makefile')
-rw-r--r-- | drivers/net/phy/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile index 4170642..7158274 100644 --- a/drivers/net/phy/Makefile +++ b/drivers/net/phy/Makefile @@ -1,6 +1,7 @@ # Makefile for Linux PHY drivers -libphy-objs := phy.o phy_device.o mdio_bus.o mdio_device.o +libphy-y := phy.o phy_device.o mdio_bus.o mdio_device.o +libphy-$(CONFIG_SWPHY) += swphy.o obj-$(CONFIG_PHYLIB) += libphy.o obj-$(CONFIG_AQUANTIA_PHY) += aquantia.o |