Commit 3668d8fa authored by Daniel Schwierzeck's avatar Daniel Schwierzeck Committed by Wolfgang Denk
Browse files

common: fix missing function pointer relocation in fixup_cmdtable()

In commit fa28bd2e

 patch v1 was applied
instead of v2. This is an incremental patch to update that commit
to version 2.
Signed-off-by: default avatarDaniel Schwierzeck <>
parent c1044a1e
......@@ -479,7 +479,8 @@ void fixup_cmdtable(cmd_tbl_t *cmdtp, int size)
if (cmdtp->complete) {
addr = (ulong)(cmdtp->complete) + gd->reloc_off;
cmdtp->complete = (char *)addr;
cmdtp->complete =
(int (*)(int, char * const [], char, int, char * []))addr;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment