checkpatch.pl: Warn if the flattree API is used
[oweals/u-boot.git] / cmd / mac.c
index 4d0dd2b9635d424cf45bbddce137fb8a7efc33c1..a39e1168a57915227f2931f0ab9bcfd92897a821 100644 (file)
--- a/cmd/mac.c
+++ b/cmd/mac.c
@@ -1,14 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2006 Freescale Semiconductor
  * York Sun (yorksun@freescale.com)
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
 #include <command.h>
 
-extern int do_mac(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
+extern int do_mac(struct cmd_tbl *cmdtp, int flag, int argc,
+                 char *const argv[]);
 
 U_BOOT_CMD(
        mac, 3, 1,  do_mac,