[PATCH] rtc: RTC_DRV_SPEAR should not default to y when compile-testing

Viresh Kumar viresh.kumar at linaro.org
Tue Dec 3 19:37:15 PST 2024


On 03-12-24, 17:25, Geert Uytterhoeven wrote:
> Merely enabling compile-testing should not enable additional
> functionality.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> ---
>  drivers/rtc/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index a60bcc791a4803b7..0bbbf778ecfa3e4c 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -1316,7 +1316,7 @@ config RTC_DRV_SC27XX
>  config RTC_DRV_SPEAR
>  	tristate "SPEAR ST RTC"
>  	depends on PLAT_SPEAR || COMPILE_TEST
> -	default y
> +	default PLAT_SPEAR
>  	help
>  	 If you say Y here you will get support for the RTC found on
>  	 spear

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

-- 
viresh



More information about the linux-arm-kernel mailing list