diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2010-07-11 19:39:30 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2010-07-11 19:39:30 +0000 |
commit | 88eb1b7ad0852f892e4276ca2c0a143aaedc8669 (patch) | |
tree | eb93f5e069c807ac7e9199831aa377379e0a8cae /package/kernel/modules/pcmcia.mk | |
parent | 9aa7a94047d2e38cddb741d86c4f8ed569088575 (diff) | |
download | mtk-20170518-88eb1b7ad0852f892e4276ca2c0a143aaedc8669.zip mtk-20170518-88eb1b7ad0852f892e4276ca2c0a143aaedc8669.tar.gz mtk-20170518-88eb1b7ad0852f892e4276ca2c0a143aaedc8669.tar.bz2 |
kernel: modules names changed with kernel 2.6.35
SVN-Revision: 22139
Diffstat (limited to 'package/kernel/modules/pcmcia.mk')
-rw-r--r-- | package/kernel/modules/pcmcia.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/kernel/modules/pcmcia.mk b/package/kernel/modules/pcmcia.mk index e782e7b..1c01a04 100644 --- a/package/kernel/modules/pcmcia.mk +++ b/package/kernel/modules/pcmcia.mk @@ -54,10 +54,17 @@ define KernelPackage/pcmcia-yenta KCONFIG:= \ CONFIG_PCCARD_NONSTATIC \ CONFIG_YENTA +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1) + FILES:= \ + $(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,41,pcmcia_rsrc yenta_socket) +else FILES:= \ $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,41,rsrc_nonstatic yenta_socket) +endif endef $(eval $(call KernelPackage,pcmcia-yenta)) |