mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] soc: loongson2_pm: add dependency on INPUT
@ 2023-09-05 12:36 Yinbo Zhu
  2023-09-06  0:37 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Yinbo Zhu @ 2023-09-05 12:36 UTC (permalink / raw)
  To: Arnd Bergmann, linux-kernel
  Cc: Jianmin Lv, wanghongliang, loongson-kernel, Yinbo Zhu, Liu Yun,
	kernel test robot

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@intel.com>
Closes: https://lore.kernel.org/all/202309030751.pDnTZX4E-lkp@intel.com/
Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.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


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

* Re: [PATCH] soc: loongson2_pm: add dependency on INPUT
  2023-09-05 12:36 [PATCH] soc: loongson2_pm: add dependency on INPUT Yinbo Zhu
@ 2023-09-06  0:37 ` Randy Dunlap
  2023-09-06  2:05   ` Yinbo Zhu
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2023-09-06  0:37 UTC (permalink / raw)
  To: Yinbo Zhu, Arnd Bergmann, linux-kernel
  Cc: Jianmin Lv, wanghongliang, loongson-kernel, Liu Yun, kernel test robot

Hi--

On 9/5/23 05:36, Yinbo Zhu wrote:
> 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@intel.com>
> Closes: https://lore.kernel.org/all/202309030751.pDnTZX4E-lkp@intel.com/
> Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.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

The preferred patch has already been posted:

https://lore.kernel.org/all/16a37f6ad3cc9417b6638c2cd532d88c79468eb1.1693623752.git.zhoubinbin@loongson.cn/

-- 
~Randy

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

* Re: [PATCH] soc: loongson2_pm: add dependency on INPUT
  2023-09-06  0:37 ` Randy Dunlap
@ 2023-09-06  2:05   ` Yinbo Zhu
  0 siblings, 0 replies; 3+ messages in thread
From: Yinbo Zhu @ 2023-09-06  2:05 UTC (permalink / raw)
  To: Randy Dunlap, Arnd Bergmann, linux-kernel
  Cc: Jianmin Lv, wanghongliang, loongson-kernel, Liu Yun,
	kernel test robot, zhuyinbo



在 2023/9/6 上午8:37, Randy Dunlap 写道:
> Hi--
> 
> On 9/5/23 05:36, Yinbo Zhu wrote:
>> 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@intel.com>
>> Closes: https://lore.kernel.org/all/202309030751.pDnTZX4E-lkp@intel.com/
>> Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.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
> 
> The preferred patch has already been posted:
> 


Sorry, I didn't notice it, and please ignore my patch, use zhoubinbin's
patch.

Thanks,
Yinbo

> https://lore.kernel.org/all/16a37f6ad3cc9417b6638c2cd532d88c79468eb1.1693623752.git.zhoubinbin@loongson.cn/
> 


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

end of thread, other threads:[~2023-09-06  2:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-05 12:36 [PATCH] soc: loongson2_pm: add dependency on INPUT Yinbo Zhu
2023-09-06  0:37 ` Randy Dunlap
2023-09-06  2:05   ` Yinbo Zhu

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®