kernel: fix regression in building kmod-serial-8250 on linux 3.8 (#18821)
authorFelix Fietkau <nbd@openwrt.org>
Tue, 27 Jan 2015 00:06:42 +0000 (00:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 27 Jan 2015 00:06:42 +0000 (00:06 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44154

package/kernel/linux/modules/other.mk

index 2f191a101d6fe7ce4c4d9efeab18917d67b1e1a8..59d2e2c1aa840e34a03423fa94e4b26f27c0a147 100644 (file)
@@ -698,7 +698,7 @@ define KernelPackage/serial-8250
        CONFIG_SERIAL_8250_SHARE_IRQ=y \
        CONFIG_SERIAL_8250_DETECT_IRQ=n \
        CONFIG_SERIAL_8250_RSA=n
-  FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko
+  FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250$(if $(CONFIG_LINUX_3_8),_core).ko
 endef
 
 define KernelPackage/serial-8250/description