command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / board / toradex / colibri_imx6 / pf0100.c
index e744243297b0af03f45d2233d7674ea40f2eea0d..149e9bd3b942d03015c3a272c7a86e9fe355e879 100644 (file)
@@ -8,6 +8,7 @@
 */
 
 #include <common.h>
+#include <command.h>
 #include <i2c.h>
 #include <asm/arch/imx-regs.h>
 #include <asm/arch/iomux.h>
@@ -246,8 +247,8 @@ static int pf0100_prog(void)
        return CMD_RET_SUCCESS;
 }
 
-static int do_pf0100_prog(cmd_tbl_t *cmdtp, int flag, int argc,
-               char * const argv[])
+static int do_pf0100_prog(struct cmd_tbl *cmdtp, int flag, int argc,
+                         char *const argv[])
 {
        int ret;
        puts("Programming PMIC OTP...");