command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / board / samsung / common / misc.c
index 3ef1e7998013855f31c6b81b24f60e4baae5982a..146843d34820e1a55b30f9151f215c18fde396a1 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <command.h>
 #include <env.h>
 #include <lcd.h>
 #include <libtizen.h>
@@ -261,7 +262,7 @@ static int mode_leave_menu(int mode)
        char *exit_option;
        char *exit_reset = "reset";
        char *exit_back = "back";
-       cmd_tbl_t *cmd;
+       struct cmd_tbl *cmd;
        int cmd_result;
        int leave;