Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / mach-imx / ulpi.h
blobb367902c9c323f7b6ccc6d802d711c6d7390e464
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __MACH_ULPI_H
3 #define __MACH_ULPI_H
5 #include <linux/usb/ulpi.h>
7 #ifdef CONFIG_USB_ULPI_VIEWPORT
8 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
10 return otg_ulpi_create(&ulpi_viewport_access_ops, flags);
12 #else
13 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
15 return NULL;
17 #endif
19 #endif /* __MACH_ULPI_H */