]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ARM: uniphier: replace <common.h> with <linux/delay.h> where possible
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 21 Jan 2017 09:05:25 +0000 (18:05 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 22 Jan 2017 06:33:00 +0000 (15:33 +0900)
The <common.h> includes too many headers.  Actually, these files
needed to include it for udelay() declaration.  Now we can replace
it with <linux/delay.h> thanks to commit 5bc516ed661a ("delay:
collect {m, n, u}delay declarations to include/linux/delay.h").

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/clk/dpll-sld8.c
arch/arm/mach-uniphier/clk/pll-base-ld20.c
arch/arm/mach-uniphier/clk/pll-ld4.c
arch/arm/mach-uniphier/clk/pll-pro4.c

index 7faa5e85b6ddecbd683679592b175a1ad9ef0f5e..4a0010b5c7d9cfffaddd412e26ba984d8613e730 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
+#include <linux/delay.h>
 #include <linux/io.h>
 
 #include "../init.h"
index caa631d9f766ebb243d249078c3ec642b916dbde..c66f083fae705b0aa787ab6cebf6185a7bf1945c 100644 (file)
@@ -5,8 +5,9 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
 #include <linux/bitops.h>
+#include <linux/delay.h>
+#include <linux/errno.h>
 #include <linux/io.h>
 #include <linux/sizes.h>
 
index 13257e4d168978279fa0e37f11b3e6778151222b..55ac0aeff6bd0c750af8287be078787c8a67a11b 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
+#include <linux/delay.h>
 #include <linux/io.h>
 
 #include "../init.h"
index cdd1fd4bf162008449a1e095fb3c7d66b9052e48..e4d1f72399c7cfac74c58633cb423fd8ff676c66 100644 (file)
@@ -5,7 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
-#include <common.h>
+#include <linux/delay.h>
 #include <linux/io.h>
 
 #include "../init.h"