2022-09-16 07:24:58

by 吕建民

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
Signed-off-by: Jianmin Lv <[email protected]>

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 66b9fa408bf2..70fbc5a3f644 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -623,8 +623,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.
--
2.31.1


2022-09-16 09:18:16

by tip-bot2 for Jacob Pan

[permalink] [raw]
Subject: [irqchip: irq/irqchip-fixes] irqchip/loongson-pch-lpc: Add dependence on LoongArch

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 <[email protected]>
AuthorDate: Fri, 16 Sep 2022 15:19:26 +08:00
Committer: Marc Zyngier <[email protected]>
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 <[email protected]>
Signed-off-by: Jianmin Lv <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
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.