Message ID | 20240626191325.4074794-2-cassel@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Krzysztof Wilczyński |
Headers | show |
Series | PCI: dw-rockchip: Depend on PCI_ENDPOINT if building endpoint mode support | expand |
Hello, > 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. 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
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
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@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202406270250.k2esVVnL-lkp@intel.com/ Signed-off-by: Niklas Cassel <cassel@kernel.org> --- drivers/pci/controller/dwc/Kconfig | 1 + 1 file changed, 1 insertion(+)