mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-20 03:36:29 +00:00
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@wp.pl>
This commit is contained in:
parent
e51dd77386
commit
f348871700
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user