[linux-yocto] [kernel-cache][PATCH] cfg/timer/rtc: toggle RTC_CLASS instead of GEN_RTC

Bruce Ashfield bruce.ashfield at windriver.com
Mon Sep 17 16:52:58 PDT 2018


Sorry for the slow reply, I'm traveling and am having trouble
getting access to my machines.

This looks fine to me, and I'll have it merged shortly.

Bruce

On 09/13/2018 01:29 PM, Jens Rehsack wrote:
> In 2016, the final removal of GEN_RTC happened with commit
>      6705fdb3 char/genrtc: remove the rest of the driver
> 
> What is remaining, is a legacy driver (char/rtc) and the new
> RTC_CLASS framework - which supports everything except S390
> and Atari. Many platforms automatically support the right
> driver for RTC_CLASS framework.
> 
> Signed-off-by: Jens Rehsack <sno at netbsd.org>
> ---
>   cfg/timer/rtc.cfg | 4 ++--
>   cfg/timer/rtc.scc | 2 +-
>   2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/cfg/timer/rtc.cfg b/cfg/timer/rtc.cfg
> index c6beb422..975736e7 100644
> --- a/cfg/timer/rtc.cfg
> +++ b/cfg/timer/rtc.cfg
> @@ -1,2 +1,2 @@
> -CONFIG_GEN_RTC=y
> -CONFIG_GEN_RTC_X=y
> +# enable legacy ("pc") RTC character device
> +CONFIG_RTC_CLASS=y
> diff --git a/cfg/timer/rtc.scc b/cfg/timer/rtc.scc
> index b8bb1d3f..f013e577 100644
> --- a/cfg/timer/rtc.scc
> +++ b/cfg/timer/rtc.scc
> @@ -1,4 +1,4 @@
> -define KFEATURE_DESCRIPTION "Generic RTC Support"
> +define KFEATURE_DESCRIPTION "RTC class/drivers Support"
>   define KFEATURE_COMPATIBILITY all
>   
>   kconf hardware rtc.cfg
> 



More information about the linux-yocto mailing list