Daniel Mack | f4f8bda | 2009-11-05 09:44:09 +0100 | [diff] [blame] | 1 | #ifndef __MACH_ULPI_H |
| 2 | #define __MACH_ULPI_H |
| 3 | |
Sascha Hauer | 48f6b09 | 2011-03-02 09:27:42 +0100 | [diff] [blame] | 4 | #ifdef CONFIG_USB_ULPI |
Heikki Krogerus | 8675381 | 2012-02-13 13:24:02 +0200 | [diff] [blame] | 5 | struct usb_phy *imx_otg_ulpi_create(unsigned int flags); |
Sascha Hauer | 48f6b09 | 2011-03-02 09:27:42 +0100 | [diff] [blame] | 6 | #else |
Heikki Krogerus | 8675381 | 2012-02-13 13:24:02 +0200 | [diff] [blame] | 7 | static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags) |
Sascha Hauer | 48f6b09 | 2011-03-02 09:27:42 +0100 | [diff] [blame] | 8 | { |
| 9 | return NULL; |
| 10 | } |
| 11 | #endif |
| 12 | |
Heikki Krogerus | 298b083 | 2012-02-13 13:24:13 +0200 | [diff] [blame] | 13 | extern struct usb_phy_io_ops mxc_ulpi_access_ops; |
Daniel Mack | f4f8bda | 2009-11-05 09:44:09 +0100 | [diff] [blame] | 14 | |
| 15 | #endif /* __MACH_ULPI_H */ |
| 16 | |