summaryrefslogtreecommitdiff
path: root/package/kernel/linux
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
commitb0826467eeb5f862ea39d4e1d5a24835ca7a7db9 (patch)
treedbb50d267039852e0bb5900d92b76808c565d72c /package/kernel/linux
parent10c8d8c4833c178b4a30871f020637c7ba94d014 (diff)
downloadmtk-20170518-b0826467eeb5f862ea39d4e1d5a24835ca7a7db9.zip
mtk-20170518-b0826467eeb5f862ea39d4e1d5a24835ca7a7db9.tar.gz
mtk-20170518-b0826467eeb5f862ea39d4e1d5a24835ca7a7db9.tar.bz2
modules: fix usb-gadget build on 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 44235
Diffstat (limited to 'package/kernel/linux')
-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 9dbf062..7498bcb 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)