[openwrt/openwrt] kernel: other: limit mhi-pci-generic to devices with PCI support

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


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

commit f34887170004fd4503ca992baf1f6321baa74059
Author: Aleksander Jan Bajkowski <olek2 at wp.pl>
AuthorDate: Sun May 7 11:08:03 2023 +0200

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




More information about the lede-commits mailing list