]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/usb/phy.h
usb: phy: add static inline wrapper for devm_usb_get_phy_by_node
[karo-tx-linux.git] / include / linux / usb / phy.h
index 8ed1e29ef3299fb3ac64cf07c222b088bda57454..e39f251cf861e08483a411493fd5030d2bf319dc 100644 (file)
@@ -240,6 +240,12 @@ static inline struct usb_phy *devm_usb_get_phy_by_phandle(struct device *dev,
        return ERR_PTR(-ENXIO);
 }
 
+static inline struct usb_phy *devm_usb_get_phy_by_node(struct device *dev,
+       struct device_node *node, struct notifier_block *nb)
+{
+       return ERR_PTR(-ENXIO);
+}
+
 static inline void usb_put_phy(struct usb_phy *x)
 {
 }