dm: include <dm/util.h> from driver/core/dump.c

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>
This commit is contained in:
Masahiro Yamada 2017-06-22 17:10:11 +09:00 committed by Simon Glass
parent b2ec7ea731
commit fce136aafe

View 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)
{