@@ -77,6 +77,7 @@ struct ehci_omap_clock_defs {
#define USBHOST_48M_FCLK "usbhost_48m_fck"
#define USBHOST_TLL_ICKL "usbtll_ick"
#define USBHOST_TLL_FCLK "usbtll_fck"
+
/*-------------------------------------------------------------------------*/
#ifndef CONFIG_OMAP_EHCI_PHY_MODE
@@ -147,6 +148,7 @@ static void omap_usb_utmi_init(struct usb_hcd *hcd, u8 tll_channel_mask)
# define omap_usb_utmi_init(x, y) 0
#endif
+/*-------------------------------------------------------------------------*/
/* omap_start_ehc
* - Start the TI USBHOST controller
@@ -330,8 +332,6 @@ static int omap_start_ehc(struct platform_device *dev, struct usb_hcd *hcd)
return 0;
}
-/*-------------------------------------------------------------------------*/
-
static void omap_stop_ehc(struct platform_device *dev, struct usb_hcd *hcd)
{
struct ehci_omap_clock_defs *ehci_clocks;
@@ -397,9 +397,10 @@ static void omap_stop_ehc(struct platform_device *dev, struct usb_hcd *hcd)
"Clock to USB host has been disabled\n");
}
+/*-------------------------------------------------------------------------*/
+
static const struct hc_driver ehci_omap_hc_driver;
-/*-------------------------------------------------------------------------*/
/* configure so an HC device and id are always provided */
/* always called with process context; sleeping is OK */
Move some of the comments used to separate the code to more logical places. No functional changes. Signed-off-by: Felipe Balbi <me@felipebalbi.com> --- drivers/usb/host/ehci-omap.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)