summaryrefslogtreecommitdiffstats
path: root/arch/mips/pistachio/time.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-02-12 11:15:43 +0100
committerPaul Burton <paulburton@kernel.org>2020-02-19 19:36:21 +0100
commit97e04ea15fd5324d9e10343fdece698b26365d82 (patch)
treea54980e6549964b5b34ae8808b723a9f4270e409 /arch/mips/pistachio/time.c
parentMIPS: pic32mzda: Replace <linux/clk-provider.h> by <linux/of_clk.h> (diff)
downloadlinux-97e04ea15fd5324d9e10343fdece698b26365d82.tar.xz
linux-97e04ea15fd5324d9e10343fdece698b26365d82.zip
MIPS: Pistachio: Replace <linux/clk-provider.h> by <linux/of_clk.h>
The Pistachio 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: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Acked-by: James Hartley <james.hartley@sondrel.com> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: Paul Cercueil <paul@crapouillou.net> Cc: John Crispin <john@phrozen.org> Cc: linux-mips@vger.kernel.org Cc: bcm-kernel-feedback-list@broadcom.com Cc: linux-clk@vger.kernel.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/pistachio/time.c')
-rw-r--r--arch/mips/pistachio/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pistachio/time.c b/arch/mips/pistachio/time.c
index 3c9235c7710a..de64751dec40 100644
--- a/arch/mips/pistachio/time.c
+++ b/arch/mips/pistachio/time.c
@@ -6,10 +6,10 @@
*/
#include <linux/clk.h>
-#include <linux/clk-provider.h>
#include <linux/clocksource.h>
#include <linux/init.h>
#include <linux/of.h>
+#include <linux/of_clk.h>
#include <asm/mips-cps.h>
#include <asm/time.h>