diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-04-27 16:44:44 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-04-27 16:44:44 +0000 |
commit | 3e5fc26843f1b0c3bd437986ac5489675464d136 (patch) | |
tree | fd320d382225add03a227b4f8359c48ab36fd659 /package/kernel/modules/pcmcia.mk | |
parent | 8a777e9a30a3ebbb1c4500d3c910b529b17ef036 (diff) | |
download | upstream-3e5fc26843f1b0c3bd437986ac5489675464d136.tar.gz upstream-3e5fc26843f1b0c3bd437986ac5489675464d136.tar.bz2 upstream-3e5fc26843f1b0c3bd437986ac5489675464d136.zip |
[package] fix kmod-pcmcia-serial for 3.3+ kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31490 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/pcmcia.mk')
-rw-r--r-- | package/kernel/modules/pcmcia.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/kernel/modules/pcmcia.mk b/package/kernel/modules/pcmcia.mk index 48112b081d..7ea259923f 100644 --- a/package/kernel/modules/pcmcia.mk +++ b/package/kernel/modules/pcmcia.mk @@ -70,7 +70,11 @@ define KernelPackage/pcmcia-serial CONFIG_PCMCIA_SERIAL_CS \ CONFIG_SERIAL_8250_CS ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),1) - FILES:=$(LINUX_DIR)/drivers/tty/serial/serial_cs.ko + ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.3)),1) + FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/serial_cs.ko + else + FILES:=$(LINUX_DIR)/drivers/tty/serial/serial_cs.ko + endif else FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.ko endif |