]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rtc: Rename lib_test to test_rtc_lib
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 1 Jul 2025 07:44:39 +0000 (09:44 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 22 Jul 2025 10:56:58 +0000 (12:56 +0200)
When compiling the RTC library functions test as a module, the module
has the non-descriptive name "lib_test.ko".  Fix this by renaming it to
"test_rtc_lib.ko".

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/47019d7f8ced12107b54a372fdf34b1b8f7b6183.1751355848.git.geert@linux-m68k.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Makefile
drivers/rtc/test_rtc_lib.c [moved from drivers/rtc/lib_test.c with 100% similarity]

index 4619aa2ac46975913c13719dd88669a8576e1bf5..789bddfea99d8fcd024566891c37ee73e527cf93 100644 (file)
@@ -15,7 +15,7 @@ rtc-core-$(CONFIG_RTC_INTF_DEV)               += dev.o
 rtc-core-$(CONFIG_RTC_INTF_PROC)       += proc.o
 rtc-core-$(CONFIG_RTC_INTF_SYSFS)      += sysfs.o
 
-obj-$(CONFIG_RTC_LIB_KUNIT_TEST)       += lib_test.o
+obj-$(CONFIG_RTC_LIB_KUNIT_TEST)       += test_rtc_lib.o
 
 # Keep the list ordered.