summaryrefslogtreecommitdiff
path: root/package/kernel/modules/usb.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-27 15:22:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-27 15:22:13 +0000
commitd1ad1c2c56b33cba78957c4b0c01b03d6238bcae (patch)
treec05a0e4af1caf254862c7294cffb768c876e1f2e /package/kernel/modules/usb.mk
parent51bc47ce7cf79f39437f65411a7f0c5a316c9a28 (diff)
downloadmtk-20170518-d1ad1c2c56b33cba78957c4b0c01b03d6238bcae.zip
mtk-20170518-d1ad1c2c56b33cba78957c4b0c01b03d6238bcae.tar.gz
mtk-20170518-d1ad1c2c56b33cba78957c4b0c01b03d6238bcae.tar.bz2
kernel: remove more unnecessary kernel version checks/dependencies
SVN-Revision: 31907
Diffstat (limited to 'package/kernel/modules/usb.mk')
-rw-r--r--package/kernel/modules/usb.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 537149c..143f754 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -16,15 +16,10 @@ define KernelPackage/usb-core
TITLE:=Support for USB
DEPENDS:=@USB_SUPPORT
KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
- ifndef CONFIG_LINUX_3_1
- FILES:= \
+ FILES:= \
$(LINUX_DIR)/drivers/usb/core/usbcore.ko \
$(LINUX_DIR)/drivers/usb/usb-common.ko
- AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
- else
- FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko
- AUTOLOAD:=$(call AutoLoad,20,usbcore,1)
- endif
+ AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
$(call AddDepends/nls)
endef