command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / arch / arm / lib / reset.c
index 835a40e59d93b466c87298e684ec5aee763b4c2b..65b4be20b819fc6cfb2aec14babb7c29e33f8458 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <common.h>
+#include <command.h>
 #include <cpu_func.h>
 #include <irq_func.h>
 
@@ -28,11 +29,11 @@ __weak void reset_misc(void)
 {
 }
 
-int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
        puts ("resetting ...\n");
 
-       udelay (50000);                         /* wait 50 ms */
+       mdelay(50);                             /* wait 50 ms */
 
        disable_interrupts();