diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 22:13:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 22:13:31 +0000 |
commit | 61bb03d2ebf41a58e7d5bc3e5d9501c06a4df02c (patch) | |
tree | 3fcd126a1b69eb06e607292d59d12913479eea74 /package/kernel/linux/modules/usb.mk | |
parent | ac28fb42d4f2f03dfb9fe7d2576a58095cdc3171 (diff) | |
download | master-187ad058-61bb03d2ebf41a58e7d5bc3e5d9501c06a4df02c.tar.gz master-187ad058-61bb03d2ebf41a58e7d5bc3e5d9501c06a4df02c.tar.bz2 master-187ad058-61bb03d2ebf41a58e7d5bc3e5d9501c06a4df02c.zip |
kernel: eliminate a few kernel_patchver_*/CompareKernelPatchVer calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44114 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/linux/modules/usb.mk')
-rw-r--r-- | package/kernel/linux/modules/usb.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 9e5a1ebe58..3db70f8951 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -338,7 +338,7 @@ define KernelPackage/usb-ohci CONFIG_USB_OHCI_HCD_OMAP3=y \ CONFIG_USB_OHCI_HCD_PLATFORM=y FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko -ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.11.0)),1) +ifeq ($(CONFIG_LINUX_3_8)$(CONFIG_LINUX_3_10),) FILES+=$(LINUX_DIR)/drivers/usb/host/ohci-platform.ko endif AUTOLOAD:=$(call AutoLoad,50,ohci-hcd ohci-platform,1) |