From 9d1e33c7557f9828f5a6b16d5c57c039a749fc8e Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 2 May 2014 22:57:09 +0000 Subject: [PATCH] omap: fix usb dependencies There are some problems in the dependencies of the usb modules Signed-off-by: Hauke Mehrtens SVN-Revision: 40667 --- package/kernel/linux/modules/usb.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 37b3eb102a..096d55aa8e 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -168,7 +168,7 @@ $(eval $(call KernelPackage,usb-phy-omap-usb2)) define KernelPackage/usb-phy-omap-usb3 TITLE:=Support for OMAP USB3 PHY KCONFIG:=CONFIG_OMAP_USB3 - DEPENDS:=@TARGET_omap + DEPENDS:=@TARGET_omap +kmod-usb-phy-omap-usb2 FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-omap-usb3.ko AUTOLOAD:=$(call AutoLoad,45,phy-omap-usb3) $(call AddDepends/usb) @@ -336,7 +336,7 @@ $(eval $(call KernelPackage,usb2-fsl)) define KernelPackage/usb2-omap TITLE:=Support for USB2 for OMAP - DEPENDS:=@TARGET_omap +kmod-usb-phy-nop +kmod-usb-phy-am335x + DEPENDS:=@TARGET_omap +kmod-usb-phy-nop +kmod-usb-phy-am335x +kmod-usb2 KCONFIG:=CONFIG_USB_EHCI_HCD_OMAP FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-omap.ko AUTOLOAD:=$(call AutoLoad,39,ehci-omap) @@ -354,8 +354,7 @@ define KernelPackage/usb2 TITLE:=Support for USB2 controllers DEPENDS:=\ +TARGET_brcm47xx:kmod-usb-brcm47xx \ - +TARGET_mpc85xx:kmod-usb2-fsl \ - +TARGET_omap:kmod-usb2-omap + +TARGET_mpc85xx:kmod-usb2-fsl KCONFIG:=\ CONFIG_USB_EHCI_HCD \ CONFIG_USB_EHCI_ATH79=y \ -- 2.25.1