command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / board / st / common / cmd_stboard.c
index 915164aa0b4a0e469406abdf5d809218decae7b7..e1038619f0c957210c39941f6c36800fe495cdd9 100644 (file)
@@ -31,6 +31,7 @@
 
 #ifndef CONFIG_SPL_BUILD
 #include <common.h>
+#include <command.h>
 #include <console.h>
 #include <misc.h>
 #include <dm/device.h>
@@ -67,8 +68,8 @@ static void display_stboard(u32 otp)
               otp & 0xF);
 }
 
-static int do_stboard(cmd_tbl_t *cmdtp, int flag, int argc,
-                     char * const argv[])
+static int do_stboard(struct cmd_tbl *cmdtp, int flag, int argc,
+                     char *const argv[])
 {
        int ret;
        u32 otp, lock;