[PATCH] PCI: dw-rockchip: Depend on PCI_ENDPOINT if building endpoint mode support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All DWC glue drivers that "select PCIE_DW_EP" also has a
"depends on PCI_ENDPOINT", except PCIE_ROCKCHIP_DW_EP.

Fix PCIE_ROCKCHIP_DW_EP so that it depends on PCI_ENDPOINT.

Fixes: 9b2ba393b3a6 ("PCI: dw-rockchip: Add endpoint mode support")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/oe-kbuild-all/202406270250.k2esVVnL-lkp@xxxxxxxxx/
Signed-off-by: Niklas Cassel <cassel@xxxxxxxxxx>
---
 drivers/pci/controller/dwc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
index 9c4fb8ba7573..4c38181acffa 100644
--- a/drivers/pci/controller/dwc/Kconfig
+++ b/drivers/pci/controller/dwc/Kconfig
@@ -329,6 +329,7 @@ config PCIE_ROCKCHIP_DW_EP
 	bool "Rockchip DesignWare PCIe controller (endpoint mode)"
 	depends on ARCH_ROCKCHIP || COMPILE_TEST
 	depends on OF
+	depends on PCI_ENDPOINT
 	select PCIE_DW_EP
 	select PCIE_ROCKCHIP_DW
 	help
-- 
2.45.2





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux