aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2013-08-02 20:07:11 +0000
committerHauke Mehrtens <hauke@openwrt.org>2013-08-02 20:07:11 +0000
commitf8b96ddc6dacbac2edb1135c6d40ed99e468b7dc (patch)
tree2758d8711aa86511d264155ca206192a93b2d0e5 /package/kernel
parente437208b4864714122242907d7c43d118df09986 (diff)
downloadmaster-187ad058-f8b96ddc6dacbac2edb1135c6d40ed99e468b7dc.tar.gz
master-187ad058-f8b96ddc6dacbac2edb1135c6d40ed99e468b7dc.tar.bz2
master-187ad058-f8b96ddc6dacbac2edb1135c6d40ed99e468b7dc.zip
kernel: fix usb-chipidea compilation with kernel <= 3.9
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37658 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/usb.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 3ff0c0783c..5ba740cbee 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1050,11 +1050,11 @@ define KernelPackage/usb-chipidea
FILES:=\
$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
$(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/ci13xxx_imx.ko) \
- $(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
- AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF_DEVICE),ci13xxx_imx usbmisc_imx),1)
+ $(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx$(if $(call kernel_patchver_le,3.9),6q).ko)
+ AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF_DEVICE),ci13xxx_imx usbmisc_imx$(if $(call kernel_patchver_le,3.9),6q)),1)
$(call AddDepends/usb)
endef
-
+
define KernelPackage/usb-chipidea/description
Kernel support for USB ChipIdea controllers
endef