summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-02-12 11:08:28 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2020-02-17 11:39:44 +0100
commit92d8495ce9b79185e5fc512fe28768564eb81722 (patch)
tree25b494f1c01a82cfc944afa9efdb7780cc54e56d
parentARM: shmobile: Enable ARM_GLOBAL_TIMER on Cortex-A9 MPCore SoCs (diff)
downloadlinux-92d8495ce9b79185e5fc512fe28768564eb81722.tar.xz
linux-92d8495ce9b79185e5fc512fe28768564eb81722.zip
ARM: shmobile: Replace <linux/clk-provider.h> by <linux/of_clk.h>
The R-Car Gen2 platform code is not a clock provider, and just needs to call of_clk_init(). Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20200212100830.446-6-geert+renesas@glider.be
-rw-r--r--arch/arm/mach-shmobile/setup-rcar-gen2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c b/arch/arm/mach-shmobile/setup-rcar-gen2.c
index 2fd3aa6f3212..1ee5cd2840e0 100644
--- a/arch/arm/mach-shmobile/setup-rcar-gen2.c
+++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c
@@ -7,7 +7,6 @@
* Copyright (C) 2014 Ulrich Hecht
*/
-#include <linux/clk-provider.h>
#include <linux/clocksource.h>
#include <linux/device.h>
#include <linux/dma-contiguous.h>
@@ -15,6 +14,7 @@
#include <linux/kernel.h>
#include <linux/memblock.h>
#include <linux/of.h>
+#include <linux/of_clk.h>
#include <linux/of_fdt.h>
#include <linux/of_platform.h>
#include <linux/psci.h>