diff options
Diffstat (limited to 'cmd/md5sum.c')
-rw-r--r-- | cmd/md5sum.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/md5sum.c b/cmd/md5sum.c index 63cbae0364c..5ae3ddf85f8 100644 --- a/cmd/md5sum.c +++ b/cmd/md5sum.c @@ -10,6 +10,7 @@ #include <common.h> #include <command.h> #include <env.h> +#include <image.h> #include <mapmem.h> #include <u-boot/md5.h> #include <asm/io.h> @@ -72,7 +73,7 @@ static int parse_verify_sum(char *verify_str, u8 *vsum) return 0; } -int do_md5sum(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +int do_md5sum(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { ulong addr, len; unsigned int i; @@ -135,7 +136,8 @@ int do_md5sum(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) return 0; } #else -static int do_md5sum(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +static int do_md5sum(struct cmd_tbl *cmdtp, int flag, int argc, + char *const argv[]) { unsigned long addr, len; unsigned int i; |