diff options
author | Jianmin Lv <lvjianmin@loongson.cn> | 2022-09-16 10:19:26 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-09-16 11:25:51 +0300 |
commit | e7ccba7728cff0e0f1299951571f209fcadcb7b1 (patch) | |
tree | a3fc9914daf2ca2fdedc7e4810302affdeb5680b /drivers/irqchip | |
parent | 8d5356f9820dc48578fc50077f5a34905386e47f (diff) | |
download | linux-e7ccba7728cff0e0f1299951571f209fcadcb7b1.tar.xz |
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
Diffstat (limited to 'drivers/irqchip')
-rw-r--r-- | drivers/irqchip/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 2549daa859d6..eb5ea5b69cfa 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. |