aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2015-02-01 09:35:52 +0000
committerZoltan HERPAI <wigyori@uid0.hu>2015-02-01 09:35:52 +0000
commit997f52e9704fbb205ad1a63611d1f31c0869a7c0 (patch)
tree5881b70563e3039603fd2a81c58e0a0dd2548682 /package
parent9763f432cfdd75b799d8c9aa10c8eb5277746275 (diff)
downloadupstream-997f52e9704fbb205ad1a63611d1f31c0869a7c0.tar.gz
upstream-997f52e9704fbb205ad1a63611d1f31c0869a7c0.tar.bz2
upstream-997f52e9704fbb205ad1a63611d1f31c0869a7c0.zip
modules: fix usb-gadget build on 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44235 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/usb.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 9dbf06264b..7498bcb014 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -217,7 +217,9 @@ $(eval $(call KernelPackage,usb-phy-twl6030))
define KernelPackage/usb-gadget
TITLE:=USB Gadget support
KCONFIG:=CONFIG_USB_GADGET
- FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc-core.ko
+ FILES:=\
+ $(LINUX_DIR)/drivers/usb/gadget/udc-core.ko@lt3.18 \
+ $(LINUX_DIR)/drivers/usb/gadget/udc/udc-core.ko@ge3.18
AUTOLOAD:=$(call AutoLoad,45,udc-core)
DEPENDS:=@USB_GADGET_SUPPORT
$(call AddDepends/usb)