Message ID | 20200212101947.9534-1-geert+renesas@glider.be (mailing list archive) |
---|---|
State | Awaiting Upstream, archived |
Headers | show |
Series | xtensa: Replace <linux/clk-provider.h> by <linux/of_clk.h> | expand |
Quoting Geert Uytterhoeven (2020-02-12 02:19:47) > 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@glider.be> > --- Reviewed-by: Stephen Boyd <sboyd@kernel.org>
On Wed, Feb 12, 2020 at 2:19 AM Geert Uytterhoeven <geert+renesas@glider.be> wrote: > > 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@glider.be> > --- > arch/xtensa/kernel/time.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Max Filippov <jcmvbkbc@gmail.com>
diff --git a/arch/xtensa/kernel/time.c b/arch/xtensa/kernel/time.c index 69db8c93c1f992d2..80bcc65d25f413b3 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>
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@glider.be> --- arch/xtensa/kernel/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)