mirror of https://github.com/hak5/openwrt.git
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>master
parent
095598ce00
commit
c01c01891c
|
@ -732,7 +732,8 @@ define KernelPackage/serial-8250
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
|
$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko \
|
||||||
$(LINUX_DIR)/drivers/tty/serial/8250/8250_base.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)
|
AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_pci)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue