]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: load usb phy earlier
authorZhangfei Gao <zhangfei.gao@linaro.org>
Thu, 12 Feb 2015 08:18:09 +0000 (16:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 16:25:16 +0000 (17:25 +0100)
USB PHY works proper is the base for the coming USB controller operation.
With this patch, it can avoid the controller drivers which are linked
earlier than USB PHY always being probed deferral.
Look at drivers/Makefile, it links phy first with the similar method.

Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/Makefile

index 2f1e2aa42b446ef608b8b07f9dcf4e2a80711ded..d8926c6cd2a8ea4a374aef845522f40fdcba1cb7 100644 (file)
@@ -5,6 +5,7 @@
 # Object files in subdirectories
 
 obj-$(CONFIG_USB)              += core/
+obj-$(CONFIG_USB_SUPPORT)      += phy/
 
 obj-$(CONFIG_USB_DWC3)         += dwc3/
 obj-$(CONFIG_USB_DWC2)         += dwc2/
@@ -48,7 +49,6 @@ obj-$(CONFIG_USB_MICROTEK)    += image/
 obj-$(CONFIG_USB_SERIAL)       += serial/
 
 obj-$(CONFIG_USB)              += misc/
-obj-$(CONFIG_USB_SUPPORT)      += phy/
 obj-$(CONFIG_EARLY_PRINTK_DBGP)        += early/
 
 obj-$(CONFIG_USB_ATM)          += atm/