command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / arch / arm / mach-uniphier / dram / cmd_ddrmphy.c
index 9a25bba5997c618b87321bc3e6f4542318676b2c..a6c0735198b8827189c1182a8c3b4dd4d3463a53 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <command.h>
 #include <stdio.h>
 #include <linux/io.h>
 #include <linux/printk.h>
@@ -291,7 +292,8 @@ static void reg_dump(const struct uniphier_ddrmphy_param *param)
        }
 }
 
-static int do_ddrm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_ddrm(struct cmd_tbl *cmdtp, int flag, int argc,
+                  char *const argv[])
 {
        const struct uniphier_ddrmphy_param *param;
        char *cmd;