Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq
[oweals/u-boot.git] / drivers / net / fsl-mc / mc.c
index 36218420165d3710da45dcdf82bc87bbc96e802f..e516c3c14577204fd325b284c2ca8b297eaffdc9 100644 (file)
@@ -8,9 +8,12 @@
 #include <cpu_func.h>
 #include <env.h>
 #include <errno.h>
+#include <image.h>
+#include <log.h>
 #include <malloc.h>
 #include <linux/bug.h>
 #include <asm/io.h>
+#include <linux/delay.h>
 #include <linux/libfdt.h>
 #include <net.h>
 #include <fdt_support.h>
@@ -1770,7 +1773,8 @@ err:
        return err;
 }
 
-static int do_fsl_mc(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_fsl_mc(struct cmd_tbl *cmdtp, int flag, int argc,
+                    char *const argv[])
 {
        int err = 0;
        if (argc < 3)