mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
772801ef75
commit
6539c44d08
4 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ struct fixed_phy_status {
|
|||
|
||||
struct device_node;
|
||||
|
||||
#ifdef CONFIG_FIXED_PHY
|
||||
#if IS_ENABLED(CONFIG_FIXED_PHY)
|
||||
extern int fixed_phy_add(unsigned int irq, int phy_id,
|
||||
struct fixed_phy_status *status);
|
||||
extern struct phy_device *fixed_phy_register(unsigned int irq,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue