File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,16 +10,6 @@ config RTC_MC146818_LIB
1010 bool
1111 select RTC_LIB
1212
13- config RTC_LIB_KUNIT_TEST
14- tristate "KUnit test for RTC lib functions" if !KUNIT_ALL_TESTS
15- depends on KUNIT
16- default KUNIT_ALL_TESTS
17- select RTC_LIB
18- help
19- Enable this option to test RTC library functions.
20-
21- If unsure, say N.
22-
2313menuconfig RTC_CLASS
2414 bool "Real Time Clock"
2515 default n
@@ -85,6 +75,15 @@ config RTC_DEBUG
8575 Say yes here to enable debugging support in the RTC framework
8676 and individual RTC drivers.
8777
78+ config RTC_LIB_KUNIT_TEST
79+ tristate "KUnit test for RTC lib functions" if !KUNIT_ALL_TESTS
80+ depends on KUNIT
81+ default KUNIT_ALL_TESTS
82+ help
83+ Enable this option to test RTC library functions.
84+
85+ If unsure, say N.
86+
8887config RTC_NVMEM
8988 bool "RTC non volatile storage support"
9089 select NVMEM
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ rtc-core-$(CONFIG_RTC_INTF_DEV) += dev.o
1515rtc-core-$(CONFIG_RTC_INTF_PROC) += proc.o
1616rtc-core-$(CONFIG_RTC_INTF_SYSFS) += sysfs.o
1717
18+ obj-$(CONFIG_RTC_LIB_KUNIT_TEST) += lib_test.o
19+
1820# Keep the list ordered.
1921
2022obj-$(CONFIG_RTC_DRV_88PM80X) += rtc-88pm80x.o
@@ -178,4 +180,3 @@ obj-$(CONFIG_RTC_DRV_WM8350) += rtc-wm8350.o
178180obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o
179181obj-$(CONFIG_RTC_DRV_XGENE) += rtc-xgene.o
180182obj-$(CONFIG_RTC_DRV_ZYNQMP) += rtc-zynqmp.o
181- obj-$(CONFIG_RTC_LIB_KUNIT_TEST) += lib_test.o
You can’t perform that action at this time.
0 commit comments