mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user