summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-19 22:16:53 (GMT)
committerWolfgang Denk <wd@denx.de>2011-01-09 16:53:45 (GMT)
commite0306cab092c3f9f3526f4c72832561201d97e11 (patch)
tree3cd0917d53b1259d8223e13d7f9a41f64bc94e8d
parent4b58266e952aaba4c1184c18eb9de5d82afe85cd (diff)
downloadu-boot-e0306cab092c3f9f3526f4c72832561201d97e11.tar.xz
examples: update do_reset prototype
One more place that was missed during the do_reset() unification. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--examples/api/libgenwrap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/api/libgenwrap.c b/examples/api/libgenwrap.c
index 9733bbc..873cf34 100644
--- a/examples/api/libgenwrap.c
+++ b/examples/api/libgenwrap.c
@@ -81,9 +81,10 @@ void __udelay(unsigned long usec)
ub_udelay(usec);
}
-void do_reset (void)
+int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
ub_reset();
+ return 0;
}
void *malloc (size_t len)