aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-04-20 17:46:39 +0200
committerArnd Bergmann <arnd@arndb.de>2018-12-18 16:13:04 +0100
commit19f48591e67c83e74e1b612f180b96ce7f1eaf85 (patch)
tree1c2d16b5e92b8eb2aefa47dcbf2d1393522adc25 /arch/sh/include
parentsh: remove unused rtc_sh_get/set_time infrastructure (diff)
downloadlinux-dev-19f48591e67c83e74e1b612f180b96ce7f1eaf85.tar.xz
linux-dev-19f48591e67c83e74e1b612f180b96ce7f1eaf85.zip
sh: remove board_time_init() callback
The only remaining user of board_time_init() is the of-generic machine, and that just calls the global timer_init() function. Calling that one has no effect on non-DT platforms, so we can simply call it unconditionally in place of board_time_init(). Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/rtc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/include/asm/rtc.h b/arch/sh/include/asm/rtc.h
index fe55fbb181aa..69dbae2949b0 100644
--- a/arch/sh/include/asm/rtc.h
+++ b/arch/sh/include/asm/rtc.h
@@ -3,7 +3,6 @@
#define _ASM_RTC_H
void time_init(void);
-extern void (*board_time_init)(void);
#define RTC_CAP_4_DIGIT_YEAR (1 << 0)