command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / cmd / config.c
index 0c7f4e06cd8f7d4b81c4c0680522874877725d75..cf30841a35947e141aa2741a0f6f778cdc82979e 100644 (file)
@@ -1,17 +1,18 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2017 Masahiro Yamada <yamada.masahiro@socionext.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
 #include <command.h>
+#include <gzip.h>
 #include <malloc.h>
 
 #include "config_data_gz.h"
 #include "config_data_size.h"
 
-static int do_config(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_config(struct cmd_tbl *cmdtp, int flag, int argc,
+                    char *const argv[])
 {
        char *dst;
        unsigned long len = data_size;