summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-12-07 08:23:29 -0500
committerTom Rini <trini@konsulko.com>2015-12-07 08:35:23 -0500
commitcbb2df2018ab07cb8887715d30d445584e108366 (patch)
tree7703310f12dc3c77f918606f55ccdb49ddbb607f /test
parentdcf4cb068e19a7f39e4a295102b247376bd27c95 (diff)
downloadu-boot-imx-cbb2df2018ab07cb8887715d30d445584e108366.zip
u-boot-imx-cbb2df2018ab07cb8887715d30d445584e108366.tar.gz
u-boot-imx-cbb2df2018ab07cb8887715d30d445584e108366.tar.bz2
CONFIG_NEEDS_MANUAL_RELOC: Fix warnings when not set
Now that we may compile (but not link) code calling fixup_cmdtable when this is not set, we need to always have the declaration available. We should also make sure that anyone calling the function includes <command.h> as that's where the function declaration is. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test')
-rw-r--r--test/dm/cmd_dm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dm/cmd_dm.c b/test/dm/cmd_dm.c
index b6e7109..a3c5971 100644
--- a/test/dm/cmd_dm.c
+++ b/test/dm/cmd_dm.c
@@ -8,6 +8,7 @@
*/
#include <common.h>
+#include <command.h>
#include <dm.h>
#include <malloc.h>
#include <mapmem.h>