[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201110155117.3286247-1-geert+renesas@glider.be>
Date: Tue, 10 Nov 2020 16:51:17 +0100
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Chris Zankel <chris@...kel.net>, Max Filippov <jcmvbkbc@...il.com>
Cc: linux-xtensa@...ux-xtensa.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>,
Stephen Boyd <sboyd@...nel.org>
Subject: [PATCH resend v2] xtensa: Replace <linux/clk-provider.h> by <linux/of_clk.h>
The Xtensa time 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@...der.be>
Reviewed-by: Stephen Boyd <sboyd@...nel.org>
Acked-by: Max Filippov <jcmvbkbc@...il.com>
---
v2:
- Add Reviewed-by, Acked-by.
---
arch/xtensa/kernel/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c
index 77971fe4cc95ba2b..e8ceb1528608188c 100644
--- a/arch/xtensa/kernel/time.c
+++ b/arch/xtensa/kernel/time.c
@@ -13,7 +13,7 @@
*/
#include <linux/clk.h>
-#include <linux/clk-provider.h>
+#include <linux/of_clk.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/time.h>
--
2.25.1
Powered by blists - more mailing lists