diff options
author | Mateusz Jończyk <mat.jonczyk@o2.pl> | 2022-08-13 16:10:34 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-08-14 12:24:29 +0300 |
commit | e1a6bc7c6969527dbe0afa4801a0237e41e26b1b (patch) | |
tree | 6c03f6ccfbd8ad5661fa8d5664354f2f961f3189 /arch/x86/include/asm/mc146818rtc.h | |
parent | fc04b2ccf0edc49e53d2e1251d122e40285233e6 (diff) | |
download | linux-e1a6bc7c6969527dbe0afa4801a0237e41e26b1b.tar.xz |
x86/rtc: Rename mach_set_rtc_mmss() to mach_set_cmos_time()
Once upon a time, before this commit in 2013:
3195ef59cb42 ("x86: Do full rtc synchronization with ntp")
... the mach_set_rtc_mmss() function set only the minutes and seconds
registers of the CMOS RTC - hence the '_mmss' postfix.
This is no longer true, so rename the function to mach_set_cmos_time().
[ mingo: Expanded changelog a bit. ]
Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20220813131034.768527-2-mat.jonczyk@o2.pl
Diffstat (limited to 'arch/x86/include/asm/mc146818rtc.h')
-rw-r--r-- | arch/x86/include/asm/mc146818rtc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mc146818rtc.h b/arch/x86/include/asm/mc146818rtc.h index 97198001e567..6115bb3d5795 100644 --- a/arch/x86/include/asm/mc146818rtc.h +++ b/arch/x86/include/asm/mc146818rtc.h @@ -95,7 +95,7 @@ static inline unsigned char current_lock_cmos_reg(void) unsigned char rtc_cmos_read(unsigned char addr); void rtc_cmos_write(unsigned char val, unsigned char addr); -extern int mach_set_rtc_mmss(const struct timespec64 *now); +extern int mach_set_cmos_time(const struct timespec64 *now); extern void mach_get_cmos_time(struct timespec64 *now); #define RTC_IRQ 8 |