[U-Boot] [PATCH] examples: update do_reset prototype
Mike Frysinger
vapier at gentoo.org
Sun Dec 19 23:16:53 CET 2010
One more place that was missed during the do_reset() unification.
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
examples/api/libgenwrap.c | 3 ++-
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)
--
1.7.3.4
More information about the U-Boot
mailing list