Browse Source

examples: update do_reset prototype

One more place that was missed during the do_reset() unification.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 13 years ago
parent
commit
e0306cab09
1 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/api/libgenwrap.c

+ 2 - 1
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)