command: Remove the cmd_tbl_t typedef
[oweals/u-boot.git] / arch / powerpc / cpu / mpc83xx / speed.c
index 93af7f495fd3614e808626e539025630b1541aa3..5c14aa1f32e71fb982f9955f50157e992620eefd 100644 (file)
@@ -9,6 +9,7 @@
 #ifndef CONFIG_CLK_MPC83XX
 
 #include <common.h>
+#include <clock_legacy.h>
 #include <mpc83xx.h>
 #include <command.h>
 #include <vsprintf.h>
@@ -522,7 +523,8 @@ int get_serial_clock(void)
        return get_bus_freq(0);
 }
 
-static int do_clocks(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_clocks(struct cmd_tbl *cmdtp, int flag, int argc,
+                    char *const argv[])
 {
        char buf[32];