aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k/cpu/mcf532x/cpu.c
diff options
context:
space:
mode:
authorSimon Glass2019-11-14 12:57:20 -0700
committerTom Rini2019-12-02 18:23:09 -0500
commit2189d5f1e8a2fd74ce52906999fd50c8f8330c81 (patch)
tree5d9f8f4af8b10404c6137b4c3dc88b07ce4bf8cc /arch/m68k/cpu/mcf532x/cpu.c
parent8bef79bf3c30cd1fc5367cc1f78f72e6552629e9 (diff)
Move strtomhz() to vsprintf.h
At present this function sits in its own file but it does not really justify it. There are similar string functions in vsprintf.h, so move it there. Also add the missing function comment. Use the vsprintf.h include file explicitly where needed. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/m68k/cpu/mcf532x/cpu.c')
-rw-r--r--arch/m68k/cpu/mcf532x/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/cpu/mcf532x/cpu.c b/arch/m68k/cpu/mcf532x/cpu.c
index a01b5e65a74..c8a1f205305 100644
--- a/arch/m68k/cpu/mcf532x/cpu.c
+++ b/arch/m68k/cpu/mcf532x/cpu.c
@@ -9,6 +9,7 @@
*/
#include <common.h>
+#include <vsprintf.h>
#include <watchdog.h>
#include <command.h>
#include <netdev.h>