projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1044a1
)
common: fix missing function pointer relocation in fixup_cmdtable()
author
Daniel Schwierzeck
<daniel.schwierzeck@googlemail.com>
Tue, 18 Oct 2011 11:12:22 +0000
(11:12 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 23 Oct 2011 21:32:44 +0000
(23:32 +0200)
In commit
fa28bd2eef588ec2048ccafedb2b384d5a355858
patch v1 was applied
instead of v2. This is an incremental patch to update that commit
to version 2.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
common/command.c
patch
|
blob
|
history
diff --git
a/common/command.c
b/common/command.c
index 2c0bf534492e2eaaa967a50079fac5fcd18483f5..c5cecd3bf5767c033c82286a88d56c052734f490 100644
(file)
--- a/
common/command.c
+++ b/
common/command.c
@@
-479,7
+479,8
@@
void fixup_cmdtable(cmd_tbl_t *cmdtp, int size)
#ifdef CONFIG_AUTO_COMPLETE
if (cmdtp->complete) {
addr = (ulong)(cmdtp->complete) + gd->reloc_off;
- cmdtp->complete = (char *)addr;
+ cmdtp->complete =
+ (int (*)(int, char * const [], char, int, char * []))addr;
}
#endif
cmdtp++;