diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-01-24 18:18:50 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2018-12-18 18:13:04 +0300 |
commit | 07df7800c6cd0bfc3bfcbfc5f12ebbd73423a5ec (patch) | |
tree | 42bee3df6dfc9cc219db6a05681991f131a04e61 /arch/sh/include | |
parent | 09e81263e5013ce5add177d50c0b1da0725ce266 (diff) | |
download | linux-07df7800c6cd0bfc3bfcbfc5f12ebbd73423a5ec.tar.xz |
sh: remove unused rtc_sh_get/set_time infrastructure
All platforms are now converted to RTC drivers, so this has become
obsolete. The board_time_init() callback still has one caller, but
could otherwise also get killed.
This removes one more usage of the deprecated timespec structure,
which overflows in y2038.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/rtc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/include/asm/rtc.h b/arch/sh/include/asm/rtc.h index c63555ee1255..fe55fbb181aa 100644 --- a/arch/sh/include/asm/rtc.h +++ b/arch/sh/include/asm/rtc.h @@ -4,8 +4,6 @@ void time_init(void); extern void (*board_time_init)(void); -extern void (*rtc_sh_get_time)(struct timespec *); -extern int (*rtc_sh_set_time)(const time_t); #define RTC_CAP_4_DIGIT_YEAR (1 << 0) |