summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2022-04-13 10:21:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-04-14 09:42:09 +0200
commitbeb75db10e4991a6e0c1a9ac625770a36ff44080 (patch)
treec1e32f058a38c4c5ea0c30a4fb9afdc13263c35f /include
parenta7d5e091a1b1e865b0987df9811683572c57c7b9 (diff)
downloadbarebox-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 'include')
-rw-r--r--include/linux/phy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h
index d9fb514277..2711e7dad3 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -280,6 +280,8 @@ int phy_drivers_register(struct phy_driver *new_driver, int n);
struct phy_device *get_phy_device(struct mii_bus *bus, int addr);
int phy_init(void);
int phy_init_hw(struct phy_device *phydev);
+struct phy_device *of_phy_register_fixed_link(struct device_node *np,
+ struct eth_device *edev);
#define phy_register_drivers_macro(level, drvs) \
static int __init drvs##_register(void) \