In case PHY is not enabled, the generic_phy_configure() implementation is
missing. Add an empty one so that the list of empty functions is complete.

Fixes: f8da8a82c57 ("generic-phy: add configure op")
Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Jim Liu <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Samuel Holland <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Weijie Gao <[email protected]>
---
 include/generic-phy.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/generic-phy.h b/include/generic-phy.h
index f8eddeff67a..fa5f6fa3636 100644
--- a/include/generic-phy.h
+++ b/include/generic-phy.h
@@ -389,6 +389,11 @@ static inline int generic_phy_power_off(struct phy *phy)
        return 0;
 }
 
+static inline int generic_phy_configure(struct phy *phy, void *params)
+{
+       return 0;
+}
+
 static inline int generic_phy_get_by_index(struct udevice *user, int index,
                             struct phy *phy)
 {
-- 
2.39.2

Reply via email to