Merge branch 'net' of git://git.denx.de/u-boot-socfpga
[oweals/u-boot.git] / cmd / hash.c
index 704d21ec6d0d8fbf5c2f29f350679697b47cace2..e163cd6774204f39ae4aac41287f486580550b5c 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2012 The Chromium OS Authors.
  *
@@ -6,8 +7,6 @@
  *
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -15,7 +14,8 @@
 #include <hash.h>
 #include <linux/ctype.h>
 
-static int do_hash(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_hash(struct cmd_tbl *cmdtp, int flag, int argc,
+                  char *const argv[])
 {
        char *s;
        int flags = HASH_FLAG_ENV;