aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2020-03-16 21:16:07 +0100
committerMathias Kresin <dev@kresin.me>2020-03-16 22:28:16 +0100
commitc01c01891c185d204de1aa8f3f7af1c05f78f09b (patch)
tree8a9ae9a2e279f9dd0a228ed26095bf0d5056e2bb /package
parent095598ce00e8ac8fe29f9b60e8d23327418fe5be (diff)
downloadupstream-c01c01891c185d204de1aa8f3f7af1c05f78f09b.tar.gz
upstream-c01c01891c185d204de1aa8f3f7af1c05f78f09b.tar.bz2
upstream-c01c01891c185d204de1aa8f3f7af1c05f78f09b.zip
kernel: kmod-serial-8250: fix linux 5.3 dependencies
Beginning with linux 5.3, kmod-serial-8250 uses functions provided by serial_mctrl_gpio.ko if GPIO support is enabled. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/other.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 147ad99cd1..f1a70bf069 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -732,7 +732,8 @@ define KernelPackage/serial-8250
FILES:= \
$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
$(LINUX_DIR)/drivers/tty/serial/8250/8250_base.ko \
- $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko)
+ $(if $(CONFIG_PCI),$(LINUX_DIR)/drivers/tty/serial/8250/8250_pci.ko) \
+ $(if $(CONFIG_GPIOLIB),$(LINUX_DIR)/drivers/tty/serial/serial_mctrl_gpio.ko@ge5.3)
AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
endef