aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy/phy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/phy/phy.h')
-rw-r--r--include/linux/phy/phy.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index 3f83459dbb20..50c7629b5860 100644
--- a/include/linux/phy/phy.h
+++ b/include/linux/phy/phy.h
@@ -151,6 +151,7 @@ struct phy *devm_phy_get(struct device *dev, const char *string);
151struct phy *devm_phy_optional_get(struct device *dev, const char *string); 151struct phy *devm_phy_optional_get(struct device *dev, const char *string);
152void phy_put(struct phy *phy); 152void phy_put(struct phy *phy);
153void devm_phy_put(struct device *dev, struct phy *phy); 153void devm_phy_put(struct device *dev, struct phy *phy);
154struct phy *of_phy_get(struct device_node *np, const char *con_id);
154struct phy *of_phy_simple_xlate(struct device *dev, 155struct phy *of_phy_simple_xlate(struct device *dev,
155 struct of_phandle_args *args); 156 struct of_phandle_args *args);
156struct phy *phy_create(struct device *dev, const struct phy_ops *ops, 157struct phy *phy_create(struct device *dev, const struct phy_ops *ops,
@@ -259,6 +260,11 @@ static inline void devm_phy_put(struct device *dev, struct phy *phy)
259{ 260{
260} 261}
261 262
263static inline struct phy *of_phy_get(struct device_node *np, const char *con_id)
264{
265 return ERR_PTR(-ENOSYS);
266}
267
262static inline struct phy *of_phy_simple_xlate(struct device *dev, 268static inline struct phy *of_phy_simple_xlate(struct device *dev,
263 struct of_phandle_args *args) 269 struct of_phandle_args *args)
264{ 270{