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@wp.pl>
This commit is contained in:
Aleksander Jan Bajkowski 2022-12-02 23:48:02 +01:00 committed by Hauke Mehrtens
parent 1827b313f7
commit e51dd77386

View File

@ -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