]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: uniphier: clean up board_init
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 29 Nov 2017 06:01:22 +0000 (15:01 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 4 Dec 2017 12:59:52 +0000 (21:59 +0900)
Remove unnecessary DECLARE_GLOBAL_DATA_PTR and header includes.

<common.h> has been replaced with <linux/errno.h> and <linux/printk.h>.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/board_init.c

index 121b78605f9298376f9ada626ff875667bbcec82..8418902a5a74bce4bcd9e88afb0e05af42a32272 100644 (file)
@@ -6,17 +6,14 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
-#include <libfdt.h>
+#include <linux/errno.h>
 #include <linux/io.h>
+#include <linux/printk.h>
 
 #include "init.h"
 #include "micro-support-card.h"
-#include "sg-regs.h"
 #include "soc-info.h"
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #ifdef CONFIG_ARCH_UNIPHIER_LD20
 static void uniphier_ld20_misc_init(void)
 {