[PATCH 3/6] irqchip/goldfish-pic: Allow selecting CONFIG_GOLDFISH_PIC on other architectures

From: Kuan-Wei Chiu

Date: Tue Sep 08 2026 - 06:44:57 EST


Drop the MIPS dependency from CONFIG_GOLDFISH_PIC so that other
architectures can use this driver. Also update the file header comment
to remove the MIPS reference.

Signed-off-by: Kuan-Wei Chiu <visitorckw@xxxxxxxxx>
---
drivers/irqchip/Kconfig | 2 +-
drivers/irqchip/irq-goldfish-pic.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 20b77fbc51ee..a0f0f3a0e8ea 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -513,7 +513,7 @@ config MESON_IRQ_GPIO

config GOLDFISH_PIC
bool "Goldfish programmable interrupt controller"
- depends on MIPS && (GOLDFISH || COMPILE_TEST)
+ depends on GOLDFISH || COMPILE_TEST
select GENERIC_IRQ_CHIP
select IRQ_DOMAIN
help
diff --git a/drivers/irqchip/irq-goldfish-pic.c b/drivers/irqchip/irq-goldfish-pic.c
index 12113ca90872..8d40df0e3a88 100644
--- a/drivers/irqchip/irq-goldfish-pic.c
+++ b/drivers/irqchip/irq-goldfish-pic.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
- * Driver for MIPS Goldfish Programmable Interrupt Controller.
+ * Driver for Goldfish Programmable Interrupt Controller.
*
* Author: Miodrag Dinic <miodrag.dinic@xxxxxxxx>
*/
--
2.55.0.979.g7e5102b832-goog