net: pcnet: Drop PCNET_HAS_PROM
[platform/kernel/u-boot.git] / test / time_ut.c
index 8ca9fcb..80b82db 100644 (file)
@@ -1,12 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2015 Google, Inc
  * Written by Simon Glass <sjg@chromium.org>
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
 #include <command.h>
 #include <errno.h>
+#include <time.h>
+#include <linux/delay.h>
 
 static int test_get_timer(void)
 {
@@ -116,7 +118,7 @@ static int test_udelay(void)
        return 0;
 }
 
-int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_ut_time(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
        int ret = 0;