From: Aleksander Jan Bajkowski Date: Fri, 2 Dec 2022 22:48:02 +0000 (+0100) Subject: kernel: other: limit serial-8250-exar to devices with PCI support X-Git-Tag: v23.05.0-rc1~294 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e51dd7738628acaf8f2160175ed10f4a69f995ab;p=openwrt%2Fopenwrt.git 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 --- 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