]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/plat-omap/include/mach/usb.h
Fix compile for n770 and omap2 boards
[linux-2.6-omap-h63xx.git] / arch / arm / plat-omap / include / mach / usb.h
index a56a610950c239e38e35b7f7d963084237f12fb4..1a36eaf66b9a5ca3ce9b62241acda06714f48c15 100644 (file)
 #define UDC_BASE                       OMAP2_UDC_BASE
 #define OMAP_OHCI_BASE                 OMAP2_OHCI_BASE
 
+#ifdef CONFIG_USB_MUSB_SOC
+extern void usb_musb_init(void);
+#else
+static inline void usb_musb_init(void)
+{
+}
+#endif
+
+void omap_usb_init(struct omap_usb_config *pdata);
+
+#if defined(CONFIG_USB_EHCI_HCD) || defined(CONFIG_USB_EHCI_HCD_MODULE)
+extern void usb_ehci_init(void);
+#else
+static inline void usb_ehci_init(void)
+{
+}
+#endif
+
 #endif
 
 /*-------------------------------------------------------------------------*/