diff mbox series

[v2,5/5] cpuidle: tegra: Enable compile testing

Message ID 20210712000322.4224-6-digetx@gmail.com
State Superseded
Headers show
Series Compile-test NVIDIA Tegra CPUIDLE driver | expand

Commit Message

Dmitry Osipenko July 12, 2021, 12:03 a.m. UTC
Enable compile testing of tegra-cpuidle driver.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 drivers/cpuidle/Kconfig.arm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dmitry Osipenko Aug. 16, 2021, 3:32 p.m. UTC | #1
12.07.2021 03:03, Dmitry Osipenko пишет:
> Enable compile testing of tegra-cpuidle driver.

> 

> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>

> ---

>  drivers/cpuidle/Kconfig.arm | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm

> index 334f83e56120..599286fc0b08 100644

> --- a/drivers/cpuidle/Kconfig.arm

> +++ b/drivers/cpuidle/Kconfig.arm

> @@ -99,7 +99,7 @@ config ARM_MVEBU_V7_CPUIDLE

>  

>  config ARM_TEGRA_CPUIDLE

>  	bool "CPU Idle Driver for NVIDIA Tegra SoCs"

> -	depends on ARCH_TEGRA && !ARM64

> +	depends on (ARCH_TEGRA || COMPILE_TEST) && !ARM64 && MMU

>  	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP

>  	select ARM_CPU_SUSPEND

>  	help

> 


Daniel, could you please ack this patch?
diff mbox series

Patch

diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm
index 334f83e56120..599286fc0b08 100644
--- a/drivers/cpuidle/Kconfig.arm
+++ b/drivers/cpuidle/Kconfig.arm
@@ -99,7 +99,7 @@  config ARM_MVEBU_V7_CPUIDLE
 
 config ARM_TEGRA_CPUIDLE
 	bool "CPU Idle Driver for NVIDIA Tegra SoCs"
-	depends on ARCH_TEGRA && !ARM64
+	depends on (ARCH_TEGRA || COMPILE_TEST) && !ARM64 && MMU
 	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
 	select ARM_CPU_SUSPEND
 	help