[linux-yocto] [kernel-cache][PATCH] cfg/timer/rtc: toggle RTC_CLASS instead of GEN_RTC
Jens Rehsack
sno at netbsd.org
Thu Sep 13 10:29:54 PDT 2018
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
--
2.17.1
More information about the linux-yocto
mailing list