Solves ticket #14965 <https://dev.openwrt.org/ticket/14965>

A missing target dependency for the usb-phy-nop kernel module was introduced by 
r39554 <https://dev.openwrt.org/changeset/39554> for platforms different from 
omap.

The second change is cosmetic to remove leading space characters.

Signed-off-by: Michel Stempin <[email protected]>
---
 package/kernel/linux/modules/usb.mk |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/usb.mk 
b/package/kernel/linux/modules/usb.mk
index 7c16fe7..e9fd709 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -102,6 +102,7 @@ $(eval $(call KernelPackage,usb-musb-tusb6010))
 define KernelPackage/usb-phy-nop
   TITLE:=Support for USB NOP transceiver
   KCONFIG:=CONFIG_NOP_USB_XCEIV
+  DEPENDS:=@(TARGET_omap||TARGET_omap24xx)
 ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/phy/phy-generic.ko),)
   FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-generic.ko
   AUTOLOAD:=$(call AutoLoad,43,phy-generic)
@@ -318,7 +319,7 @@ define KernelPackage/usb2-fsl
   DEPENDS:=@TARGET_mpc85xx
   KCONFIG:=\
        CONFIG_USB_FSL_MPH_DR_OF \
-       CONFIG_USB_EHCI_FSL=y
+       CONFIG_USB_EHCI_FSL=y
   FILES:=$(LINUX_DIR)/drivers/usb/host/fsl-mph-dr-of.ko
   AUTOLOAD:=$(call AutoLoad,39,fsl-mph-dr-of,1)
   $(call AddDepends/usb)
-- 
1.7.10.4
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to