[openwrt/openwrt] kernel: other: limit serial-8250-exar to devices with PCI support

LEDE Commits lede-commits at lists.infradead.org
Tue May 9 02:41:59 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/e51dd7738628acaf8f2160175ed10f4a69f995ab

commit e51dd7738628acaf8f2160175ed10f4a69f995ab
Author: Aleksander Jan Bajkowski <olek2 at wp.pl>
AuthorDate: Fri Dec 2 23:48:02 2022 +0100

    kernel: other: limit serial-8250-exar to devices with PCI support
    
    Kmod-serial-8250-exar supports Serial cards connected via PCIe bus. On targets
    without PCI support, this package is empty.
    
    Signed-off-by: Aleksander Jan Bajkowski <olek2 at wp.pl>
---
 package/kernel/linux/modules/other.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 262aca4324..75e978085b 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -901,7 +901,7 @@ define KernelPackage/serial-8250-exar
   KCONFIG:= CONFIG_SERIAL_8250_EXAR
   FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko
   AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar)
-  DEPENDS:=+kmod-serial-8250
+  DEPENDS:=@PCI_SUPPORT +kmod-serial-8250
 endef
 
 define KernelPackage/serial-8250-exar/description




More information about the lede-commits mailing list