|
@@ -181,8 +181,16 @@
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/
|
|
/*-------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
+#if IS_ENABLED(CONFIG_USB_ULPI)
|
|
struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,
|
|
struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,
|
|
unsigned int flags);
|
|
unsigned int flags);
|
|
|
|
+#else
|
|
|
|
+static inline struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,
|
|
|
|
+ unsigned int flags)
|
|
|
|
+{
|
|
|
|
+ return NULL;
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
|
|
#ifdef CONFIG_USB_ULPI_VIEWPORT
|
|
#ifdef CONFIG_USB_ULPI_VIEWPORT
|
|
/* access ops for controllers with a viewport register */
|
|
/* access ops for controllers with a viewport register */
|