aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-24 16:18:50 +0100
committerArnd Bergmann <arnd@arndb.de>2018-12-18 16:13:04 +0100
commit07df7800c6cd0bfc3bfcbfc5f12ebbd73423a5ec (patch)
tree42bee3df6dfc9cc219db6a05681991f131a04e61 /arch/sh/include
parentsh: sh03: rtc: push down rtc class ops into driver (diff)
downloadlinux-dev-07df7800c6cd0bfc3bfcbfc5f12ebbd73423a5ec.tar.xz
linux-dev-07df7800c6cd0bfc3bfcbfc5f12ebbd73423a5ec.zip
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.h2
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)