diff options
author | Tom Rini <trini@konsulko.com> | 2015-12-07 08:23:29 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-12-07 08:35:23 -0500 |
commit | cbb2df2018ab07cb8887715d30d445584e108366 (patch) | |
tree | 7703310f12dc3c77f918606f55ccdb49ddbb607f /test/dm | |
parent | dcf4cb068e19a7f39e4a295102b247376bd27c95 (diff) | |
download | u-boot-cbb2df2018ab07cb8887715d30d445584e108366.tar.gz u-boot-cbb2df2018ab07cb8887715d30d445584e108366.tar.bz2 u-boot-cbb2df2018ab07cb8887715d30d445584e108366.zip |
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/dm')
-rw-r--r-- | test/dm/cmd_dm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dm/cmd_dm.c b/test/dm/cmd_dm.c index b6e7109149..a3c5971a8b 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> |