Merge remote-tracking branches 'regulator/topic/88pm800', 'regulator/topic/ab8500...
[deliverable/linux.git] / arch / arm / mach-imx / ulpi.h
1 #ifndef __MACH_ULPI_H
2 #define __MACH_ULPI_H
3
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 }
11 #else
12 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
13 {
14 return NULL;
15 }
16 #endif
17
18 #endif /* __MACH_ULPI_H */
19
This page took 0.065269 seconds and 5 git commands to generate.