ulpi.h 369 B

1234567891011121314151617181920
  1. #ifndef __MACH_ULPI_H
  2. #define __MACH_ULPI_H
  3. #include <linux/usb/ulpi.h>
  4. #ifdef CONFIG_USB_ULPI_VIEWPORT
  5. static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
  6. {
  7. return otg_ulpi_create(&ulpi_viewport_access_ops, flags);
  8. }
  9. #else
  10. static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
  11. {
  12. return NULL;
  13. }
  14. #endif
  15. #endif /* __MACH_ULPI_H */