]> git.sur5r.net Git - u-boot/commitdiff
dm: include <dm/util.h> from driver/core/dump.c
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Jun 2017 08:10:11 +0000 (17:10 +0900)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:20 +0000 (10:08 -0600)
Include <dm/util.h> to fix sparse warnings:
symbol 'dm_dump_all' was not declared. Should it be static?
symbol 'dm_dump_uclass' was not declared. Should it be static?

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/core/dump.c

index fd4596ee68b727473618da856394c09a95b609cd..c3e109e7ed11c78632516c11e1ac78ca7f4b0e73 100644 (file)
@@ -8,6 +8,7 @@
 #include <dm.h>
 #include <mapmem.h>
 #include <dm/root.h>
+#include <dm/util.h>
 
 static void show_devices(struct udevice *dev, int depth, int last_flag)
 {