summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-09-27 20:47:09 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-09-27 20:47:09 +0000
commit32ada4fa2fedfb51ed134f35fef42c87c18f8e1f (patch)
tree6e0909821173c2bb51662d9dc7dc8d54b80075e7
parentef48c1a2509e6e5c4ee80cdccde991b22dce6758 (diff)
kernel: remove old kernel compat code for pcmcia
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38239 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 a7271b0e20..51668facf0 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