Commit | Line | Data |
---|---|---|
f4f8bda2 DM |
1 | #ifndef __MACH_ULPI_H |
2 | #define __MACH_ULPI_H | |
3 | ||
794987ac MP |
4 | #include <linux/usb/ulpi.h> |
5 | ||
6 | #ifdef CONFIG_USB_ULPI_VIEWPORT | |
7 | static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags) | |
8 | { | |
9 | return otg_ulpi_create(&ulpi_viewport_access_ops, flags); | |
10 | } | |
48f6b099 | 11 | #else |
86753811 | 12 | static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags) |
48f6b099 SH |
13 | { |
14 | return NULL; | |
15 | } | |
16 | #endif | |
17 | ||
f4f8bda2 DM |
18 | #endif /* __MACH_ULPI_H */ |
19 |