command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / lib / fdtdec_test.c
index e8bfd1fb1ec3c2bdeda6f2e588cfdbf6b525196f..e0c6e0971cd979685fe65e442c4a74c9d0ff2b9c 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <common.h>
+#include <command.h>
 #include <fdtdec.h>
 #include <linux/libfdt.h>
 #include <malloc.h>
@@ -297,8 +298,8 @@ static int check_carveout(void)
        return 0;
 }
 
-static int do_test_fdtdec(cmd_tbl_t *cmdtp, int flag, int argc,
-                         char * const argv[])
+static int do_test_fdtdec(struct cmd_tbl *cmdtp, int flag, int argc,
+                         char *const argv[])
 {
        /* basic tests */
        CHECKOK(run_test("", "", ""));