summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/plat/usb.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-07-05 17:31:29 +0400
committerTony Lindgren <tony@atomide.com>2010-07-05 17:31:29 +0400
commitb5e8905bcd7a794b667f6d5eabcb036f25358fdb (patch)
treef4e488d39bb59d57ca8cff6a45df29624fcd6049 /arch/arm/plat-omap/include/plat/usb.h
parentdba638d22d5af5486a861e08ab46e57abef7049a (diff)
downloadlinux-b5e8905bcd7a794b667f6d5eabcb036f25358fdb.tar.xz
omap: Move omap2 FS USB platform init code into mach-omap2/usb-fs.c
Move omap2 FS USB platform init code into mach-omap2/usb-fs.c. This will allow further work later on to use omap hwmod for initializing the device. Cc: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/usb.h')
-rw-r--r--arch/arm/plat-omap/include/plat/usb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/usb.h b/arch/arm/plat-omap/include/plat/usb.h
index 98eef5360e6d..9f792244e77c 100644
--- a/arch/arm/plat-omap/include/plat/usb.h
+++ b/arch/arm/plat-omap/include/plat/usb.h
@@ -81,7 +81,14 @@ extern void usb_ohci_init(const struct ohci_hcd_omap_platform_data *pdata);
#endif
+void omap_otg_init(struct omap_usb_config *config);
void omap_usb_init(struct omap_usb_config *pdata);
+void omap2_usbfs_init(struct omap_usb_config *pdata);
+#else
+static inline omap2_usbfs_init(struct omap_usb_config *pdata)
+{
+}
+#endif
/*-------------------------------------------------------------------------*/