summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-09-27 20:47:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-09-27 20:47:09 +0000
commit3c045e99333e4856f22a8357dc31ba792cdb6c93 (patch)
treedf42ac30f71bb015ad74e31d556d4d51f2cc3fd1 /package/kernel
parente232a92c0886d334a72823b7183ccac08815b755 (diff)
downloadmtk-20170518-3c045e99333e4856f22a8357dc31ba792cdb6c93.zip
mtk-20170518-3c045e99333e4856f22a8357dc31ba792cdb6c93.tar.gz
mtk-20170518-3c045e99333e4856f22a8357dc31ba792cdb6c93.tar.bz2
kernel: remove old kernel compat code for pcmcia
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38239
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/pcmcia.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/package/kernel/linux/modules/pcmcia.mk b/package/kernel/linux/modules/pcmcia.mk
index a7271b0..51668fa 100644
--- a/package/kernel/linux/modules/pcmcia.mk
+++ b/package/kernel/linux/modules/pcmcia.mk
@@ -33,14 +33,8 @@ define KernelPackage/pcmcia-rsrc
TITLE:=PCMCIA resource support
DEPENDS:=kmod-pcmcia-core
KCONFIG:=CONFIG_PCCARD_NONSTATIC=y
-# For Linux 2.6.35+
-ifneq ($(wildcard $(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko),)
FILES:=$(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko
AUTOLOAD:=$(call AutoLoad,26,pcmcia_rsrc)
-else
- FILES:=$(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.ko
- AUTOLOAD:=$(call AutoLoad,26,rsrc_nonstatic)
-endif
endef
define KernelPackage/pcmcia-rsrc/description