aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-04-27 16:44:44 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-04-27 16:44:44 +0000
commit1c2905751924f7354f8e895cd22326cdbdebd7df (patch)
tree8be4a553af846b0bf6f2cbc3d08c159082d24f5c /package/kernel
parente0c97d69c64ce001e6b75dcaf995e187a5db38e9 (diff)
downloadupstream-1c2905751924f7354f8e895cd22326cdbdebd7df.tar.gz
upstream-1c2905751924f7354f8e895cd22326cdbdebd7df.tar.bz2
upstream-1c2905751924f7354f8e895cd22326cdbdebd7df.zip
fix kmod-pcmcia-serial for 3.3+ kernels
SVN-Revision: 31490
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/pcmcia.mk6
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