]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
examples: update do_reset prototype
authorMike Frysinger <vapier@gentoo.org>
Sun, 19 Dec 2010 22:16:53 +0000 (17:16 -0500)
committerWolfgang Denk <wd@denx.de>
Sun, 9 Jan 2011 16:53:45 +0000 (17:53 +0100)
One more place that was missed during the do_reset() unification.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
examples/api/libgenwrap.c

index 9733bbc52e32a85e75b35ea1ae56b95f750bc3b1..873cf343e8ff62b58f1d2b06b222bd81b5a997be 100644 (file)
@@ -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)