]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/mach-imx/ulpi.h
Merge remote-tracking branch 'kbuild/for-next'
[karo-tx-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