Skip to contentSkip to conversation

pci: dwc: dra7xx: Depend on appropriate SoC or compile test

PATCH Applied Peter Robinson 3 participants 3 messages May 15, 2017 – May 23, 2017 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: dwc: dra7xx: Depend on appropriate SoC or compile test

The PCI controller attached to a SoC isn't much use if the core SoC isn't enabled, unless of course it's compile testing, so add appropriate dependency.

---
 drivers/pci/dwc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/pci/dwc/Kconfig +1 -0
index b7e15526d676..d34b6dfbb351 100644
@@ -16,6 +16,7 @@ config PCIE_DW_EP
 
 config PCI_DRA7XX
 	bool "TI DRA7xx PCIe controller"
+	depends on SOC_DRA7XX || COMPILE_TEST
 	depends on (PCI && PCI_MSI_IRQ_DOMAIN) || PCI_ENDPOINT
 	depends on OF && HAS_IOMEM && TI_PIPE3
 	help
Signature · 1 line
2.13.0
#1 lore raw
Quoted 4 lines · Peter Robinson

The PCI controller attached to a SoC isn't much use if the core SoC isn't enabled, unless of course it's compile testing, so add appropriate dependency.

Applied to pci/host-dra7xx for v4.13, thanks!

Kishon, let me know if you object. I think I'll start speculatively applying simple patches without maintainer acks to try to streamline things, on the assumption that you'll speak up if you object.

Quoted 19 lines
---
 drivers/pci/dwc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/pci/dwc/Kconfig +1 -0
index b7e15526d676..d34b6dfbb351 100644
@@ -16,6 +16,7 @@ config PCIE_DW_EP
 
 config PCI_DRA7XX
 	bool "TI DRA7xx PCIe controller"
+	depends on SOC_DRA7XX || COMPILE_TEST
 	depends on (PCI && PCI_MSI_IRQ_DOMAIN) || PCI_ENDPOINT
 	depends on OF && HAS_IOMEM && TI_PIPE3
 	help
Signature · 1 line
2.13.0
#2 lore raw

Hi Bjorn,

Quoted 11 lines · Bjorn Helgaas
Quoted 4 lines · Peter Robinson

The PCI controller attached to a SoC isn't much use if the core SoC isn't enabled, unless of course it's compile testing, so add appropriate dependency.

Applied to pci/host-dra7xx for v4.13, thanks!

Kishon, let me know if you object. I think I'll start speculatively applying simple patches without maintainer acks to try to streamline things, on the assumption that you'll speak up if you object.

Sorry for not giving my Ack earlier.

-Kishon

Quoted 20 lines
Quoted 20 lines
---
 drivers/pci/dwc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/pci/dwc/Kconfig +1 -0
index b7e15526d676..d34b6dfbb351 100644
@@ -16,6 +16,7 @@ config PCIE_DW_EP
 
 config PCI_DRA7XX
 	bool "TI DRA7xx PCIe controller"
+	depends on SOC_DRA7XX || COMPILE_TEST
 	depends on (PCI && PCI_MSI_IRQ_DOMAIN) || PCI_ENDPOINT
 	depends on OF && HAS_IOMEM && TI_PIPE3
 	help
Signature · 1 line
2.13.0