[irqchip: irq/irqchip-fixes] irqchip/loongson-pch-lpc: Add dependence on LoongArch
From: irqchip-bot for Jianmin Lv
Date: Fri Sep 16 2022 - 04:31:03 EST
The following commit has been merged into the irq/irqchip-fixes branch of irqchip:
Commit-ID: e7ccba7728cff0e0f1299951571f209fcadcb7b1
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/e7ccba7728cff0e0f1299951571f209fcadcb7b1
Author: Jianmin Lv <lvjianmin@xxxxxxxxxxx>
AuthorDate: Fri, 16 Sep 2022 15:19:26 +08:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Fri, 16 Sep 2022 09:25:51 +01:00
irqchip/loongson-pch-lpc: Add dependence on LoongArch
The loongson-pch-lpc driver may be selected in a random
configuration, but it is only supported for LoongArch, So,
the dependence on LoongArch is added for it to avoid compile
error for a random configuration of other architetures.
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: Jianmin Lv <lvjianmin@xxxxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20220916071926.28368-1-lvjianmin@xxxxxxxxxxx
---
drivers/irqchip/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 2549daa..eb5ea5b 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -628,8 +628,9 @@ config LOONGSON_PCH_MSI
config LOONGSON_PCH_LPC
bool "Loongson PCH LPC Controller"
+ depends on LOONGARCH
depends on MACH_LOONGSON64
- default (MACH_LOONGSON64 && LOONGARCH)
+ default MACH_LOONGSON64
select IRQ_DOMAIN_HIERARCHY
help
Support for the Loongson PCH LPC Controller.