mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] irqchip/loongson-pch-lpc: Add dependence on LoongArch
@ 2022-09-16  7:19 Jianmin Lv
  2022-09-16  8:30 ` [irqchip: irq/irqchip-fixes] " irqchip-bot for Jianmin Lv
  0 siblings, 1 reply; 2+ messages in thread
From: Jianmin Lv @ 2022-09-16  7:19 UTC (permalink / raw)
  To: Thomas Gleixner, Marc Zyngier
  Cc: linux-kernel, loongarch, Jiaxun Yang, Huacai Chen, kernel test robot

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@intel.com>
Signed-off-by: Jianmin Lv <lvjianmin@loongson.cn>

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [irqchip: irq/irqchip-fixes] irqchip/loongson-pch-lpc: Add dependence on LoongArch
  2022-09-16  7:19 [PATCH] irqchip/loongson-pch-lpc: Add dependence on LoongArch Jianmin Lv
@ 2022-09-16  8:30 ` irqchip-bot for Jianmin Lv
  0 siblings, 0 replies; 2+ messages in thread
From: irqchip-bot for Jianmin Lv @ 2022-09-16  8:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel test robot, Jianmin Lv, Marc Zyngier, tglx

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@loongson.cn>
AuthorDate:    Fri, 16 Sep 2022 15:19:26 +08:00
Committer:     Marc Zyngier <maz@kernel.org>
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@intel.com>
Signed-off-by: Jianmin Lv <lvjianmin@loongson.cn>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220916071926.28368-1-lvjianmin@loongson.cn
---
 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-16  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-16  7:19 [PATCH] irqchip/loongson-pch-lpc: Add dependence on LoongArch Jianmin Lv
2022-09-16  8:30 ` [irqchip: irq/irqchip-fixes] " irqchip-bot for Jianmin Lv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®