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>
This commit is contained in:
@@ -22,8 +22,6 @@
|
||||
#include <asm/clock.h>
|
||||
#include <asm/rtc.h>
|
||||
|
||||
void (*board_time_init)(void);
|
||||
|
||||
static void __init sh_late_time_init(void)
|
||||
{
|
||||
/*
|
||||
@@ -41,8 +39,7 @@ static void __init sh_late_time_init(void)
|
||||
|
||||
void __init time_init(void)
|
||||
{
|
||||
if (board_time_init)
|
||||
board_time_init();
|
||||
timer_probe();
|
||||
|
||||
clk_init();
|
||||
|
||||
|
Reference in New Issue
Block a user