command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / board / toradex / apalis_imx6 / pf0100.c
index ebd6418fd472c2cc1ebefb2d90e0f3552225cb80..f8d0494332e06af91cdd1a01bd74af0e0ad37034 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>
@@ -261,8 +262,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...");