Commit d9a70368dbe4a9b0e81b60ffbe3fda4a09e0ad5a

Authored by Masahiro Yamada
1 parent 0f4ec05bbb

ARM: uniphier: replace <common.h> with <linux/delay.h> where possible

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>

Showing 4 changed files with 5 additions and 4 deletions Side-by-side Diff

arch/arm/mach-uniphier/clk/dpll-sld8.c
... ... @@ -5,7 +5,7 @@
5 5 * SPDX-License-Identifier: GPL-2.0+
6 6 */
7 7  
8   -#include <common.h>
  8 +#include <linux/delay.h>
9 9 #include <linux/io.h>
10 10  
11 11 #include "../init.h"
arch/arm/mach-uniphier/clk/pll-base-ld20.c
... ... @@ -5,8 +5,9 @@
5 5 * SPDX-License-Identifier: GPL-2.0+
6 6 */
7 7  
8   -#include <common.h>
9 8 #include <linux/bitops.h>
  9 +#include <linux/delay.h>
  10 +#include <linux/errno.h>
10 11 #include <linux/io.h>
11 12 #include <linux/sizes.h>
12 13  
arch/arm/mach-uniphier/clk/pll-ld4.c
... ... @@ -5,7 +5,7 @@
5 5 * SPDX-License-Identifier: GPL-2.0+
6 6 */
7 7  
8   -#include <common.h>
  8 +#include <linux/delay.h>
9 9 #include <linux/io.h>
10 10  
11 11 #include "../init.h"
arch/arm/mach-uniphier/clk/pll-pro4.c
... ... @@ -5,7 +5,7 @@
5 5 * SPDX-License-Identifier: GPL-2.0+
6 6 */
7 7  
8   -#include <common.h>
  8 +#include <linux/delay.h>
9 9 #include <linux/io.h>
10 10  
11 11 #include "../init.h"