]> Git Repo - J-u-boot.git/blobdiff - cmd/time.c
dm: core: Sort dm subcommands
[J-u-boot.git] / cmd / time.c
index de57e3b9dd5e05a1efc2b4b12741b9dc3d5eb03a..db8c1892df4a437050e39bff6c0f3cc6b29ba444 100644 (file)
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2011 The Chromium OS Authors.
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -24,11 +24,12 @@ static void report_time(ulong cycles)
        printf(" %lu.%03lu seconds\n", seconds, milliseconds);
 }
 
-static int do_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_time(struct cmd_tbl *cmdtp, int flag, int argc,
+                  char *const argv[])
 {
        ulong cycles = 0;
        int retval = 0;
-       int repeatable;
+       int repeatable = 0;
 
        if (argc == 1)
                return CMD_RET_USAGE;
This page took 0.025508 seconds and 4 git commands to generate.