2009-11-05 09:44:09 +01:00
|
|
|
#ifndef __MACH_ULPI_H
|
|
|
|
#define __MACH_ULPI_H
|
|
|
|
|
2013-06-06 14:41:57 +02:00
|
|
|
#include <linux/usb/ulpi.h>
|
|
|
|
|
|
|
|
#ifdef CONFIG_USB_ULPI_VIEWPORT
|
|
|
|
static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
|
|
|
|
{
|
|
|
|
return otg_ulpi_create(&ulpi_viewport_access_ops, flags);
|
|
|
|
}
|
2011-03-02 09:27:42 +01:00
|
|
|
#else
|
2012-02-13 12:24:02 +01:00
|
|
|
static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
|
2011-03-02 09:27:42 +01:00
|
|
|
{
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2009-11-05 09:44:09 +01:00
|
|
|
#endif /* __MACH_ULPI_H */
|
|
|
|
|