From: Felix Fietkau Date: Fri, 27 Sep 2013 20:47:09 +0000 (+0000) Subject: kernel: remove old kernel compat code for pcmcia X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3c045e99333e4856f22a8357dc31ba792cdb6c93;p=openwrt%2Fstaging%2Fnbd.git kernel: remove old kernel compat code for pcmcia Signed-off-by: Felix Fietkau SVN-Revision: 38239 --- 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