command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / arch / arc / lib / reset.c
index 02e08df48de08234a7e751086ffd4da595220136..fbb56ec83af0134145864b18e26afff5fde95ab5 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <command.h>
 #include <common.h>
+#include <cpu_func.h>
 
 __weak void reset_cpu(ulong addr)
 {
@@ -12,7 +13,7 @@ __weak void reset_cpu(ulong addr)
        __builtin_arc_brk();
 }
 
-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[])
 {
        printf("Resetting the board...\n");