command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / board / toradex / common / tdx-cfg-block.c
index bd7d8b7f53fd92726cf1a0cec522ab35efb183b9..75216ecf6d3979acf14ad5e67e54e32872f77d92 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <common.h>
 #include "tdx-cfg-block.h"
+#include <command.h>
 #include <asm/cache.h>
 
 #if defined(CONFIG_TARGET_APALIS_IMX6) || \
@@ -514,8 +515,8 @@ static int get_cfgblock_barcode(char *barcode)
        return 0;
 }
 
-static int do_cfgblock_create(cmd_tbl_t *cmdtp, int flag, int argc,
-                             char * const argv[])
+static int do_cfgblock_create(struct cmd_tbl *cmdtp, int flag, int argc,
+                             char *const argv[])
 {
        u8 *config_block;
        struct toradex_tag *tag;
@@ -643,8 +644,8 @@ out:
        return ret;
 }
 
-static int do_cfgblock(cmd_tbl_t *cmdtp, int flag, int argc,
-                      char * const argv[])
+static int do_cfgblock(struct cmd_tbl *cmdtp, int flag, int argc,
+                      char *const argv[])
 {
        int ret;