forked from Minki/linux
8675381109
This is the first step in separating USB transceivers from USB OTG utilities. Includes fixes to IMX code from Sascha Hauer. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Pavankumar Kondeti <pkondeti@codeaurora.org> Acked-by: Li Yang <leoli@freescale.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
17 lines
309 B
C
17 lines
309 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 otg_io_access_ops mxc_ulpi_access_ops;
|
|
|
|
#endif /* __MACH_ULPI_H */
|
|
|