summaryrefslogtreecommitdiff
path: root/Documentation/sh
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-04-20 18:46:39 +0300
committerArnd Bergmann <arnd@arndb.de>2018-12-18 18:13:04 +0300
commit19f48591e67c83e74e1b612f180b96ce7f1eaf85 (patch)
tree1c2d16b5e92b8eb2aefa47dcbf2d1393522adc25 /Documentation/sh
parent07df7800c6cd0bfc3bfcbfc5f12ebbd73423a5ec (diff)
downloadlinux-19f48591e67c83e74e1b612f180b96ce7f1eaf85.tar.xz
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 'Documentation/sh')
-rw-r--r--Documentation/sh/new-machine.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/Documentation/sh/new-machine.txt b/Documentation/sh/new-machine.txt
index f0354164cb0e..e0961a66130b 100644
--- a/Documentation/sh/new-machine.txt
+++ b/Documentation/sh/new-machine.txt
@@ -116,7 +116,6 @@ might look something like:
* arch/sh/boards/vapor/setup.c - Setup code for imaginary board
*/
#include <linux/init.h>
-#include <asm/rtc.h> /* for board_time_init() */
const char *get_system_type(void)
{
@@ -132,13 +131,6 @@ int __init platform_setup(void)
* this board.
*/
- /*
- * Presume all FooTech boards have the same broken timer,
- * and also presume that we've defined foo_timer_init to
- * do something useful.
- */
- board_time_init = foo_timer_init;
-
/* Start-up imaginary PCI ... */
/* And whatever else ... */