command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / arch / arm / cpu / arm926ejs / spear / cpu.c
index f5192240e4d032e058afc59ccb1c1578965e7889..21065410746b4622590f1011f5eda841a29bbf64 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <command.h>
 #include <init.h>
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
@@ -81,7 +82,7 @@ int print_cpuinfo(void)
 #endif
 
 #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_NAND_ECC_BCH) && defined(CONFIG_NAND_FSMC)
-static int do_switch_ecc(cmd_tbl_t *cmdtp, int flag, int argc,
+static int do_switch_ecc(struct cmd_tbl *cmdtp, int flag, int argc,
                         char *const argv[])
 {
        if (argc != 2)