command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / arch / arm / mach-omap2 / omap3 / board.c
index b893fb732e019e7d5c5985c7818e3b42b0a59f9f..f08c8ab43a06b80de88f467719a84e3eeac0c243 100644 (file)
@@ -16,6 +16,7 @@
  *
  */
 #include <common.h>
+#include <command.h>
 #include <dm.h>
 #include <init.h>
 #include <spl.h>
@@ -280,7 +281,8 @@ void abort(void)
 /******************************************************************************
  * OMAP3 specific command to switch between NAND HW and SW ecc
  *****************************************************************************/
-static int do_switch_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
+static int do_switch_ecc(struct cmd_tbl *cmdtp, int flag, int argc,
+                        char *const argv[])
 {
        int hw, strength = 1;