summaryrefslogtreecommitdiff
path: root/drivers/core
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-06-22 08:10:11 (GMT)
committerSimon Glass <sjg@chromium.org>2017-07-11 16:08:20 (GMT)
commitfce136aafe1f51b2dbca1439f3bf31a7e6d32ca9 (patch)
tree3ecce5e1a633d0e73e6213ae09c94e5492110b29 /drivers/core
parentb2ec7ea731a1300fc3b888d9efa870fb4dafda79 (diff)
downloadu-boot-fsl-qoriq-fce136aafe1f51b2dbca1439f3bf31a7e6d32ca9.tar.xz
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>
Diffstat (limited to 'drivers/core')
-rw-r--r--drivers/core/dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/core/dump.c b/drivers/core/dump.c
index fd4596e..c3e109e 100644
--- a/drivers/core/dump.c
+++ b/drivers/core/dump.c
@@ -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)
{