Skip to contentSkip to conversation

irqchip: remove redundant config PCI dependency for config LS_SCFG_MSI

PATCH Applied Lukas Bulwahn 2 participants 2 messages Jan 11, 2023 – Feb 5, 2023

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

PATCH 1/1 irqchip: remove redundant config PCI dependency for config LS_SCFG_MSI

While reviewing dependencies in some Kconfig files, I noticed the redundant dependency "depends on PCI && PCI_MSI". The config PCI_MSI has always, since its introduction, been dependent on the config PCI. So, it is sufficient to just depend on PCI_MSI, and know that the dependency on PCI is implicitly implied.

Reduce the dependencies of config LS_SCFG_MSI.
No functional change and effective change of Kconfig dependendencies.

---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/Kconfig +1 -1
index d79683154f7f..59bcce29b1a4 100644
@@ -384,7 +384,7 @@ config LS_EXTIRQ
 
 config LS_SCFG_MSI
 	def_bool y if SOC_LS1021A || ARCH_LAYERSCAPE
-	depends on PCI && PCI_MSI
+	depends on PCI_MSI
 
 config PARTITION_PERCPU
 	bool
Signature · 1 line
2.17.1
#1 lore raw

[irqchip: irq/irqchip-next] irqchip/ls-scfg-msi: Simplify Kconfig dependencies

The following commit has been merged into the irq/irqchip-next branch of irqchip:

The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID:     9c1a7bfc2993112cfb3056b18301fcafe5c2fde5
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/9c1a7bfc2993112cfb3056b18301fcafe5c2fde5
Author:        Lukas Bulwahn <[email protected]>
AuthorDate:    Wed, 11 Jan 2023 11:05:54 +01:00
Committer:     Marc Zyngier <[email protected]>
CommitterDate: Sun, 05 Feb 2023 11:19:03 

irqchip/ls-scfg-msi: Simplify Kconfig dependencies

Having both PCI_MSI and PCI is redundant. Drop PCI.

---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/Kconfig +1 -1
index caa952c..f3d88e9 100644
@@ -389,7 +389,7 @@ config LS_EXTIRQ
 
 config LS_SCFG_MSI
 	def_bool y if SOC_LS1021A || ARCH_LAYERSCAPE
-	depends on PCI && PCI_MSI
+	depends on PCI_MSI
 
 config PARTITION_PERCPU
 	bool