diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/usb/phy.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/usb/phy.h b/include/linux/usb/phy.h index 359db7de61e4..15847cbdb512 100644 --- a/include/linux/usb/phy.h +++ b/include/linux/usb/phy.h | |||
| @@ -167,6 +167,8 @@ extern struct usb_phy *devm_usb_get_phy(struct device *dev, | |||
| 167 | enum usb_phy_type type); | 167 | enum usb_phy_type type); |
| 168 | extern struct usb_phy *usb_get_phy_dev(struct device *dev, u8 index); | 168 | extern struct usb_phy *usb_get_phy_dev(struct device *dev, u8 index); |
| 169 | extern struct usb_phy *devm_usb_get_phy_dev(struct device *dev, u8 index); | 169 | extern struct usb_phy *devm_usb_get_phy_dev(struct device *dev, u8 index); |
| 170 | extern struct usb_phy *devm_usb_get_phy_by_phandle(struct device *dev, | ||
| 171 | const char *phandle, u8 index); | ||
| 170 | extern void usb_put_phy(struct usb_phy *); | 172 | extern void usb_put_phy(struct usb_phy *); |
| 171 | extern void devm_usb_put_phy(struct device *dev, struct usb_phy *x); | 173 | extern void devm_usb_put_phy(struct device *dev, struct usb_phy *x); |
| 172 | extern int usb_bind_phy(const char *dev_name, u8 index, | 174 | extern int usb_bind_phy(const char *dev_name, u8 index, |
| @@ -193,6 +195,12 @@ static inline struct usb_phy *devm_usb_get_phy_dev(struct device *dev, u8 index) | |||
| 193 | return NULL; | 195 | return NULL; |
| 194 | } | 196 | } |
| 195 | 197 | ||
| 198 | static inline struct usb_phy *devm_usb_get_phy_by_phandle(struct device *dev, | ||
| 199 | const char *phandle, u8 index) | ||
| 200 | { | ||
| 201 | return NULL; | ||
| 202 | } | ||
| 203 | |||
| 196 | static inline void usb_put_phy(struct usb_phy *x) | 204 | static inline void usb_put_phy(struct usb_phy *x) |
| 197 | { | 205 | { |
| 198 | } | 206 | } |
