summaryrefslogtreecommitdiff
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2021-08-11 00:20:07 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-08-11 00:22:20 +0300
commitb02c96464f443e030be74ddd450c46703fe7ba8c (patch)
tree9d4497884a58d2895a4d1b18bab85c3d930ec384 /drivers/rtc/Kconfig
parent5546e3dfb65a4389e747766ac455a50c3675fb0f (diff)
downloadlinux-b02c96464f443e030be74ddd450c46703fe7ba8c.tar.xz
rtc: move RTC_LIB_KUNIT_TEST to proper location
Move RTC_LIB_KUNIT_TEST under RTC_LIB so it is clear in the menu this is part of the RTC subsystem. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210810212008.631359-2-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig19
1 files changed, 9 insertions, 10 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index b3cf3a274c05..daff06707455 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -10,16 +10,6 @@ config RTC_MC146818_LIB
bool
select RTC_LIB
-config RTC_LIB_KUNIT_TEST
- tristate "KUnit test for RTC lib functions" if !KUNIT_ALL_TESTS
- depends on KUNIT
- default KUNIT_ALL_TESTS
- select RTC_LIB
- help
- Enable this option to test RTC library functions.
-
- If unsure, say N.
-
menuconfig RTC_CLASS
bool "Real Time Clock"
default n
@@ -85,6 +75,15 @@ config RTC_DEBUG
Say yes here to enable debugging support in the RTC framework
and individual RTC drivers.
+config RTC_LIB_KUNIT_TEST
+ tristate "KUnit test for RTC lib functions" if !KUNIT_ALL_TESTS
+ depends on KUNIT
+ default KUNIT_ALL_TESTS
+ help
+ Enable this option to test RTC library functions.
+
+ If unsure, say N.
+
config RTC_NVMEM
bool "RTC non volatile storage support"
select NVMEM