diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-06-07 13:58:29 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-09 04:19:50 +0200 |
commit | 6e1a12821d34ee37b1196872eccc7dc9b5218a87 (patch) | |
tree | 197c5ac2812c1576403be430d4031ec19616457b /include | |
parent | net: pcs: lynx: remove lynx_get_mdio_device() (diff) | |
download | linux-6e1a12821d34ee37b1196872eccc7dc9b5218a87.tar.xz linux-6e1a12821d34ee37b1196872eccc7dc9b5218a87.zip |
net: pcs: lynx: add lynx_pcs_create_fwnode()
Add a helper to create a lynx PCS from a fwnode handle.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pcs-lynx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pcs-lynx.h b/include/linux/pcs-lynx.h index 25f68a096bfe..123e813df771 100644 --- a/include/linux/pcs-lynx.h +++ b/include/linux/pcs-lynx.h @@ -11,6 +11,7 @@ struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio); struct phylink_pcs *lynx_pcs_create_mdiodev(struct mii_bus *bus, int addr); +struct phylink_pcs *lynx_pcs_create_fwnode(struct fwnode_handle *node); void lynx_pcs_destroy(struct phylink_pcs *pcs); |