hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/linux/usb/ulpi.h
....@@ -55,12 +55,23 @@
5555 #if IS_ENABLED(CONFIG_USB_ULPI)
5656 struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,
5757 unsigned int flags);
58
+
59
+struct usb_phy *devm_otg_ulpi_create(struct device *dev,
60
+ struct usb_phy_io_ops *ops,
61
+ unsigned int flags);
5862 #else
5963 static inline struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,
6064 unsigned int flags)
6165 {
6266 return NULL;
6367 }
68
+
69
+static inline struct usb_phy *devm_otg_ulpi_create(struct device *dev,
70
+ struct usb_phy_io_ops *ops,
71
+ unsigned int flags)
72
+{
73
+ return NULL;
74
+}
6475 #endif
6576
6677 #ifdef CONFIG_USB_ULPI_VIEWPORT