net: Allow FIXED_PHY to be modular.
authorDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2014 19:30:09 +0000 (14:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2014 20:02:23 +0000 (15:02 -0500)
commit6539c44d08ac2eea693b6163135169b9c8c18bb1
tree1c879b16a0d4fd5f8b064b7beaa1f9dad516ded6
parent772801ef7572f2b3e16bebceb707159ee3081ded
net: Allow FIXED_PHY to be modular.

Otherwise we get things like:

warning: (NET_DSA_BCM_SF2 && BCMGENET && SYSTEMPORT) selects FIXED_PHY which has unmet direct dependencies (NETDEVICES && PHYLIB=y)

In order to make this work we have to rename fixed.c to fixed_phy.c
because the regulator drivers already have a module named "fixed.o".

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/fixed.c [deleted file]
drivers/net/phy/fixed_phy.c [new file with mode: 0644]
include/linux/phy_fixed.h