ARM: uniphier: delete or replace <common.h> includes
[oweals/u-boot.git] / arch / arm / mach-uniphier / dram / cmd_ddrphy.c
index 0283edaeda6bd7b6efd0b9461f5c3f6e6c25cde8..ca519d1c7e0c6be37d0ef00cbbc30b72a763fcc4 100644 (file)
@@ -1,12 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2014      Panasonic Corporation
  * Copyright (C) 2015-2017 Socionext Inc.
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
+#include <command.h>
 #include <stdio.h>
 #include <linux/io.h>
 #include <linux/printk.h>
@@ -262,7 +261,8 @@ static void reg_dump(const struct uniphier_ddrphy_param *param)
        }
 }
 
-static int do_ddr(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_ddr(struct cmd_tbl *cmdtp, int flag, int argc,
+                 char *const argv[])
 {
        const struct uniphier_ddrphy_param *param;
        char *cmd;