From f34887170004fd4503ca992baf1f6321baa74059 Mon Sep 17 00:00:00 2001 From: Aleksander Jan Bajkowski Date: Sun, 7 May 2023 11:08:03 +0200 Subject: [PATCH] kernel: other: limit mhi-pci-generic to devices with PCI support Kmod-mhi-pci-generic supports Qualcomm modems over PCIe bus. On targets without PCI support, this package is empty. Symbol CONFIG_MHI_BUS_PCI_GENERIC depends on CONFIG_PCI. Signed-off-by: Aleksander Jan Bajkowski --- 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 75e978085b..e8b4ea54fe 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -1352,7 +1352,7 @@ $(eval $(call KernelPackage,mhi-bus)) define KernelPackage/mhi-pci-generic SUBMENU:=$(OTHER_MENU) TITLE:=MHI PCI controller driver - DEPENDS:=@LINUX_5_15 +kmod-mhi-bus + DEPENDS:=@LINUX_5_15 @PCI_SUPPORT +kmod-mhi-bus KCONFIG:=CONFIG_MHI_BUS_PCI_GENERIC FILES:=$(LINUX_DIR)/drivers/bus/mhi/mhi_pci_generic.ko AUTOLOAD:=$(call AutoProbe,mhi_pci_generic) -- 2.30.2