From: Hauke Mehrtens Date: Fri, 2 Aug 2013 20:07:11 +0000 (+0000) Subject: kernel: fix usb-chipidea compilation with kernel <= 3.9 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=65ef965e6e12f386e4fcc963aff37c308eba345d;p=openwrt%2Fstaging%2Faparcar.git kernel: fix usb-chipidea compilation with kernel <= 3.9 Signed-off-by: Hauke Mehrtens SVN-Revision: 37658 --- 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