forked from Minki/linux
298b083cf9
Use struct usb_otg members with OTG specific functions instead of usb_phy members. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
17 lines
306 B
C
17 lines
306 B
C
#ifndef __MACH_ULPI_H
|
|
#define __MACH_ULPI_H
|
|
|
|
#ifdef CONFIG_USB_ULPI
|
|
struct usb_phy *imx_otg_ulpi_create(unsigned int flags);
|
|
#else
|
|
static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
|
|
{
|
|
return NULL;
|
|
}
|
|
#endif
|
|
|
|
extern struct usb_phy_io_ops mxc_ulpi_access_ops;
|
|
|
|
#endif /* __MACH_ULPI_H */
|
|
|