fix kmod-pcmcia-serial for 3.3+ kernels
SVN-Revision: 31490
This commit is contained in:
parent
e0c97d69c6
commit
1c29057519
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue