kernel: remove old kernel compat code for pcmcia

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38239
This commit is contained in:
Felix Fietkau 2013-09-27 20:47:09 +00:00
parent e232a92c08
commit 3c045e9933

View file

@ -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