[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230905123629.4510-1-zhuyinbo@loongson.cn>
Date: Tue, 5 Sep 2023 20:36:29 +0800
From: Yinbo Zhu <zhuyinbo@...ngson.cn>
To: Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org
Cc: Jianmin Lv <lvjianmin@...ngson.cn>, wanghongliang@...ngson.cn,
loongson-kernel@...ts.loongnix.cn,
Yinbo Zhu <zhuyinbo@...ngson.cn>, Liu Yun <liuyun@...ngson.cn>,
kernel test robot <lkp@...el.com>
Subject: [PATCH] soc: loongson2_pm: add dependency on INPUT
This fixes some undefined references to `input_set_capability' and
`input_register_device` issue when INPUT is not enabled.
Reported-by: kernel test robot <lkp@...el.com>
Closes: https://lore.kernel.org/all/202309030751.pDnTZX4E-lkp@intel.com/
Signed-off-by: Yinbo Zhu <zhuyinbo@...ngson.cn>
---
drivers/soc/loongson/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/loongson/Kconfig b/drivers/soc/loongson/Kconfig
index 314e13bb3e01c..1b57af1e55298 100644
--- a/drivers/soc/loongson/Kconfig
+++ b/drivers/soc/loongson/Kconfig
@@ -20,6 +20,7 @@ config LOONGSON2_GUTS
config LOONGSON2_PM
bool "Loongson-2 SoC Power Management Controller Driver"
depends on LOONGARCH && OF
+ depends on INPUT
help
The Loongson-2's power management controller was ACPI, supports ACPI
S2Idle (Suspend To Idle), ACPI S3 (Suspend To RAM), ACPI S4 (Suspend To
--
2.31.1
Powered by blists - more mailing lists