projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: pcnet: Drop PCNET_HAS_PROM
[platform/kernel/u-boot.git]
/
test
/
time_ut.c
diff --git
a/test/time_ut.c
b/test/time_ut.c
index
8ca9fcb
..
80b82db
100644
(file)
--- a/
test/time_ut.c
+++ b/
test/time_ut.c
@@
-1,12
+1,14
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2015 Google, Inc
* Written by Simon Glass <sjg@chromium.org>
/*
* 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 <common.h>
#include <command.h>
#include <errno.h>
+#include <time.h>
+#include <linux/delay.h>
static int test_get_timer(void)
{
static int test_get_timer(void)
{
@@
-116,7
+118,7
@@
static int test_udelay(void)
return 0;
}
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;
{
int ret = 0;