diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2022-04-13 10:21:54 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-04-14 09:42:09 +0200 |
commit | beb75db10e4991a6e0c1a9ac625770a36ff44080 (patch) | |
tree | c1e32f058a38c4c5ea0c30a4fb9afdc13263c35f /drivers/net/phy/phy.c | |
parent | a7d5e091a1b1e865b0987df9811683572c57c7b9 (diff) | |
download | barebox-beb75db10e4991a6e0c1a9ac625770a36ff44080.tar.gz barebox-beb75db10e4991a6e0c1a9ac625770a36ff44080.tar.xz |
net: phy: export of_phy_register_fixed_link() function
We will need this function by DSA framework
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.barebox.org/20220413082205.429509-4-o.rempel@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r-- | drivers/net/phy/phy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index e8e8dad5bd..4c09839f3f 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -302,8 +302,8 @@ void phy_unregister_device(struct phy_device *phydev) phydev->registered = 0; } -static struct phy_device *of_phy_register_fixed_link(struct device_node *np, - struct eth_device *edev) +struct phy_device *of_phy_register_fixed_link(struct device_node *np, + struct eth_device *edev) { struct phy_device *phydev; |