diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2010-07-11 19:39:30 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2010-07-11 19:39:30 +0000 |
commit | 29910ddb5f224bc1d0604427f4db39c677e5129a (patch) | |
tree | 027aa249f88b1137469063fb4bc9e8eb967c3b69 /package/kernel/modules/pcmcia.mk | |
parent | 3f57f6f2196b71ce8bb5d97a03eb0670b97220fc (diff) | |
download | upstream-29910ddb5f224bc1d0604427f4db39c677e5129a.tar.gz upstream-29910ddb5f224bc1d0604427f4db39c677e5129a.tar.bz2 upstream-29910ddb5f224bc1d0604427f4db39c677e5129a.zip |
kernel: modules names changed with kernel 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22139 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 e782e7b239..1c01a04fe8 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)) |