aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/pcmcia.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-17 15:28:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-17 15:28:02 +0000
commit8ff9b93dfa4f658866cf53947438980b972c2700 (patch)
treefd15d6dcd724a2f495ff527e2f6694f3018b9841 /package/kernel/modules/pcmcia.mk
parentc30405070c1f6a253b5f0403b6d68cb4b1f00455 (diff)
downloadupstream-8ff9b93dfa4f658866cf53947438980b972c2700.tar.gz
upstream-8ff9b93dfa4f658866cf53947438980b972c2700.tar.bz2
upstream-8ff9b93dfa4f658866cf53947438980b972c2700.zip
kernel: remove obsolete CompareKernelPatchVer calls
SVN-Revision: 31775
Diffstat (limited to 'package/kernel/modules/pcmcia.mk')
-rw-r--r--package/kernel/modules/pcmcia.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/package/kernel/modules/pcmcia.mk b/package/kernel/modules/pcmcia.mk
index 7ea259923f..a803a03dd8 100644
--- a/package/kernel/modules/pcmcia.mk
+++ b/package/kernel/modules/pcmcia.mk
@@ -69,14 +69,10 @@ define KernelPackage/pcmcia-serial
KCONFIG:= \
CONFIG_PCMCIA_SERIAL_CS \
CONFIG_SERIAL_8250_CS
- ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),1)
- 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
+ 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/serial/serial_cs.ko
+ FILES:=$(LINUX_DIR)/drivers/tty/serial/serial_cs.ko
endif
AUTOLOAD:=$(call AutoLoad,45,serial_cs)
endef