diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-05-31 00:51:25 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-06-10 13:34:05 +0200 |
commit | 495fc04b6d24f3d4cb1661c85e2da1a7fa35ac92 (patch) | |
tree | a57eb5f64377db4553136b8786470e801525628c /include/phy.h | |
parent | 83434e249f060ab4e1f57d6ec63c03d72eea50cf (diff) |
net: phy: Unpublish phy_connect_dev()
The phy_connect_dev() is legacy API, now that there are no users,
make it internal to phy.c and unpublish it from headers.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'include/phy.h')
-rw-r--r-- | include/phy.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/phy.h b/include/phy.h index 247223d92b..f023a3c268 100644 --- a/include/phy.h +++ b/include/phy.h @@ -224,15 +224,6 @@ static inline struct phy_device *fixed_phy_create(ofnode node) #endif /** - * phy_connect_dev() - Associates the given pair of PHY and Ethernet devices - * @phydev: PHY device - * @dev: Ethernet device - * @interface: type of MAC-PHY interface - */ -void phy_connect_dev(struct phy_device *phydev, struct udevice *dev, - phy_interface_t interface); - -/** * phy_connect() - Creates a PHY device for the Ethernet interface * Creates a PHY device for the PHY at the given address, if one doesn't exist * already, and associates it with the Ethernet device. |