Author: blogic
Date: 2014-08-25 18:30:52 +0200 (Mon, 25 Aug 2014)
New Revision: 42288

Modified:
   trunk/package/kernel/linux/modules/usb.mk
Log:
kernel: add ohci-platform.ko for 3.11+

Signed-off-by: John Crispin <[email protected]>

Modified: trunk/package/kernel/linux/modules/usb.mk
===================================================================
--- trunk/package/kernel/linux/modules/usb.mk   2014-08-25 16:30:44 UTC (rev 
42287)
+++ trunk/package/kernel/linux/modules/usb.mk   2014-08-25 16:30:52 UTC (rev 
42288)
@@ -331,7 +331,10 @@
        CONFIG_USB_OHCI_HCD_OMAP3=y \
        CONFIG_USB_OHCI_HCD_PLATFORM=y
   FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
-  AUTOLOAD:=$(call AutoLoad,50,ohci-hcd,1)
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.11.0)),1)
+  FILES+=$(LINUX_DIR)/drivers/usb/host/ohci-platform.ko
+endif
+  AUTOLOAD:=$(call AutoLoad,50,ohci-hcd ohci-platform,1)
   $(call AddDepends/usb)
 endef
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to