PCI: dw-rockchip: Depend on PCI_ENDPOINT if building endpoint mode support
Subsystems (2)
PATCH 1/1 PCI: dw-rockchip: Depend on PCI_ENDPOINT if building endpoint mode support
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 <[email protected]>
Signed-off-by Niklas Cassel <[email protected]>
--- drivers/pci/controller/dwc/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/pci/controller/dwc/Kconfig +1 -0
@@ -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
Signature · 1 line
2.45.2
Krzysztof Wilczyński
AppliedHello,
Quoted 4 lines
All DWC glue drivers that "select
PCIE_DW_EP" also has a "depends onPCI_ENDPOINT", exceptPCIE_ROCKCHIP_DW_EP.Fix
PCIE_ROCKCHIP_DW_EPso that it depends onPCI_ENDPOINT.
Applied to controller/rockchip, thank you!
[1/1] PCI: dw-rockchip: Depend on PCI_ENDPOINT if building endpoint mode support
https://git.kernel.org/pci/pci/c/d7a8b355112d Krzysztof