Merge tag 'locks-v3.16-2' of git://git.samba.org/jlayton/linux
[linux/fpc-iii.git] / arch / arm / mach-imx / ulpi.h
blob23f5c0349e807d737c3d9338b0f9efbd90dcf1ea
1 #ifndef __MACH_ULPI_H
2 #define __MACH_ULPI_H
4 #include <linux/usb/ulpi.h>
6 #ifdef CONFIG_USB_ULPI_VIEWPORT
7 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
9 return otg_ulpi_create(&ulpi_viewport_access_ops, flags);
11 #else
12 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
14 return NULL;
16 #endif
18 #endif /* __MACH_ULPI_H */