mirror of https://github.com/hak5/openwrt.git
kernel: fix usb-chipidea compilation with kernel <= 3.9
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37658lede-17.01
parent
219eac1856
commit
65ef965e6e
|
@ -1050,11 +1050,11 @@ define KernelPackage/usb-chipidea
|
||||||
FILES:=\
|
FILES:=\
|
||||||
$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
|
$(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/ci13xxx_imx.ko) \
|
||||||
$(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
|
$(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),1)
|
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)
|
$(call AddDepends/usb)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/usb-chipidea/description
|
define KernelPackage/usb-chipidea/description
|
||||||
Kernel support for USB ChipIdea controllers
|
Kernel support for USB ChipIdea controllers
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue