USB: OTG should be linked before Host
authorNeil Zhang <zhangwm@marvell.com>
Wed, 23 Nov 2011 10:38:48 +0000 (18:38 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 03:58:47 +0000 (19:58 -0800)
For OTG controller, the host driver will call function
otg_get_transceiver to get the otg transceiver, so we need to init the
OTG driver before HOST.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/Makefile

index 75eca76452279566f7800cc75ac9f9401e1f4ea1..53a7bc07dd8d7cd92d8ed940aa09cfb597b8f6d7 100644 (file)
@@ -6,6 +6,8 @@
 
 obj-$(CONFIG_USB)              += core/
 
+obj-$(CONFIG_USB_OTG_UTILS)    += otg/
+
 obj-$(CONFIG_USB_DWC3)         += dwc3/
 
 obj-$(CONFIG_USB_MON)          += mon/
@@ -51,7 +53,6 @@ obj-$(CONFIG_USB_SPEEDTOUCH)  += atm/
 
 obj-$(CONFIG_USB_MUSB_HDRC)    += musb/
 obj-$(CONFIG_USB_RENESAS_USBHS)        += renesas_usbhs/
-obj-$(CONFIG_USB_OTG_UTILS)    += otg/
 obj-$(CONFIG_USB_GADGET)       += gadget/
 
 obj-$(CONFIG_USB_COMMON)       += usb-common.o