1 #ifndef __MACH_ULPI_H 2 #define __MACH_ULPI_H 3 4 #include <linux/usb/ulpi.h> 5 6 #ifdef CONFIG_USB_ULPI_VIEWPORT imx_otg_ulpi_create(unsigned int flags)7static 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 imx_otg_ulpi_create(unsigned int flags)12static 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 20