From: Zoltan Herpai Date: Sun, 1 Feb 2015 09:35:52 +0000 (+0000) Subject: modules: fix usb-gadget build on 3.18 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=61d5e1c3b4a43b5f32eebd1fdb3677cc03b32f2d;p=openwrt%2Fsvn-archive%2Farchive.git modules: fix usb-gadget build on 3.18 Signed-off-by: Zoltan HERPAI SVN-Revision: 44235 --- 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)