diff options
| author | Mark Brown <broonie@kernel.org> | 2026-10-14 13:51:39 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-14 13:51:39 +0100 |
| commit | c736ddedd2ceba82a869cc80e95def5caa034f5f (patch) | |
| tree | 13edfcc80248d29b561a0dc6851f3b917893b492 /include/linux/phy/phy.h | |
| parent | c57eea29e5e5d6f279e2a0f1a79607f5f565949d (diff) | |
| parent | d7e7bca7169873b46e857c025c10f3336c1258d8 (diff) | |
| download | linux-next-c736ddedd2ceba82a869cc80e95def5caa034f5f.tar.gz linux-next-c736ddedd2ceba82a869cc80e95def5caa034f5f.zip | |
Merge branch 'next' of git://linuxtv.org/media-ci/media-pending.git
Diffstat (limited to 'include/linux/phy/phy.h')
| -rw-r--r-- | include/linux/phy/phy.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index ea47975e288a..14b924a88411 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -284,6 +284,8 @@ struct phy *devm_of_phy_optional_get(struct device *dev, struct device_node *np, const char *con_id); struct phy *devm_of_phy_get_by_index(struct device *dev, struct device_node *np, int index); +struct phy *phy_get_by_of_node(struct device_node *np); +struct phy *devm_phy_get_by_of_node(struct device *dev, struct device_node *np); void of_phy_put(struct phy *phy); void phy_put(struct device *dev, struct phy *phy); void devm_phy_put(struct device *dev, struct phy *phy); @@ -493,6 +495,17 @@ static inline struct phy *devm_of_phy_get_by_index(struct device *dev, return ERR_PTR(-ENOSYS); } +static inline struct phy *phy_get_by_of_node(struct device_node *np) +{ + return ERR_PTR(-ENOSYS); +} + +static inline struct phy *devm_phy_get_by_of_node(struct device *dev, + struct device_node *np) +{ + return ERR_PTR(-ENOSYS); +} + static inline void of_phy_put(struct phy *phy) { } |
