diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-04-20 21:45:25 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-04-20 19:36:21 +0200 |
commit | a746f50d69bf1cb13b17c1d0855471dc4c9fbd4f (patch) | |
tree | 632894090d867ac78b6bbeb80ba5cd9a3bde4b40 /arch/mips/loongson64/time.c | |
parent | 7a6659a59198acb5e9be050f42dbb1060efe7434 (diff) |
MIPS: Loongson64: Remove dead RTC code
RTC is now enabled by devicetree. So platform code is
no longer needed.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/loongson64/time.c')
-rw-r--r-- | arch/mips/loongson64/time.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/mips/loongson64/time.c b/arch/mips/loongson64/time.c index 1245f22cec84..91e842b58365 100644 --- a/arch/mips/loongson64/time.c +++ b/arch/mips/loongson64/time.c @@ -6,7 +6,7 @@ * Copyright (C) 2009 Lemote Inc. * Author: Wu Zhangjin, wuzhangjin@gmail.com */ -#include <asm/mc146818-time.h> + #include <asm/time.h> #include <asm/hpet.h> @@ -21,9 +21,3 @@ void __init plat_time_init(void) setup_hpet_timer(); #endif } - -void read_persistent_clock64(struct timespec64 *ts) -{ - ts->tv_sec = mc146818_get_cmos_time(); - ts->tv_nsec = 0; -} |