blob: 42bdaca6d7d912eff447e2e262005d090d81317c [file] [log] [blame]
Daniel Mackf4f8bda2009-11-05 09:44:09 +01001#ifndef __MACH_ULPI_H
2#define __MACH_ULPI_H
3
Sascha Hauer48f6b092011-03-02 09:27:42 +01004#ifdef CONFIG_USB_ULPI
Heikki Krogerus86753812012-02-13 13:24:02 +02005struct usb_phy *imx_otg_ulpi_create(unsigned int flags);
Sascha Hauer48f6b092011-03-02 09:27:42 +01006#else
Heikki Krogerus86753812012-02-13 13:24:02 +02007static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
Sascha Hauer48f6b092011-03-02 09:27:42 +01008{
9 return NULL;
10}
11#endif
12
Heikki Krogerus298b0832012-02-13 13:24:13 +020013extern struct usb_phy_io_ops mxc_ulpi_access_ops;
Daniel Mackf4f8bda2009-11-05 09:44:09 +010014
15#endif /* __MACH_ULPI_H */
16