Skip to contentSkip to conversation

PCI: xilinx: Drop obsolete dependency on COMPILE_TEST

PATCH RESEND In review Jean Delvare 2 participants 2 messages Apr 7, 2023 – Apr 20, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 PCI: xilinx: Drop obsolete dependency on COMPILE_TEST

Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed.

Cc Lorenzo Pieralisi <[email protected]>
Cc Rob Herring <[email protected]>
Cc "Krzysztof Wilczyński" <[email protected]>
Cc Bjorn Helgaas <[email protected]>

---
Resending as the context changed so my original submission no longer applies cleanly.

 drivers/pci/controller/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/Kconfig +1 -1
@@ -98,7 +98,7 @@ config PCI_HOST_GENERIC
 
 config PCIE_XILINX
 	bool "Xilinx AXI PCIe host bridge support"
-	depends on OF || COMPILE_TEST
+	depends on OF
 	depends on PCI_MSI
 	help
 	  Say 'Y' here if you want kernel to support the Xilinx AXI PCIe
Signature · 2 lines
Jean Delvare
SUSE L3 Support
#1 lore raw
Quoted 10 lines · Jean Delvare

Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), it is possible to test-build any driver which depends on OF on any architecture by explicitly selecting OF. Therefore depending on COMPILE_TEST as an alternative is no longer needed.

Cc Lorenzo Pieralisi <[email protected]>
Cc Rob Herring <[email protected]>
Cc "Krzysztof Wilczyński" <[email protected]>
Cc Bjorn Helgaas <[email protected]>

Thanks, Jean, applied to pci/controller/kconfig for v6.4.

Quoted 23 lines

---
Resending as the context changed so my original submission no longer applies cleanly.

 drivers/pci/controller/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/Kconfig +1 -1
@@ -98,7 +98,7 @@ config PCI_HOST_GENERIC
 
 config PCIE_XILINX
 	bool "Xilinx AXI PCIe host bridge support"
-	depends on OF || COMPILE_TEST
+	depends on OF
 	depends on PCI_MSI
 	help
 	  Say 'Y' here if you want kernel to support the Xilinx AXI PCIe
Signature · 3 lines
-- 
Jean Delvare
SUSE L3 Support