Linux SNPS ARC Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] ARC: Replace <linux/clk-provider.h> by <linux/of_clk.h>
@ 2020-02-12 10:00 Geert Uytterhoeven
  2020-02-12 17:06 ` Stephen Boyd
  2020-02-12 17:30 ` Vineet Gupta
  0 siblings, 2 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2020-02-12 10:00 UTC (permalink / raw)
  To: Vineet Gupta; +Cc: linux-snps-arc, linux-clk, Geert Uytterhoeven, linux-kernel

The ARC 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>
---
 arch/arc/kernel/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
index e1c647490f00e910..aa41af6ef4ac6ecc 100644
--- a/arch/arc/kernel/setup.c
+++ b/arch/arc/kernel/setup.c
@@ -8,11 +8,11 @@
 #include <linux/delay.h>
 #include <linux/root_dev.h>
 #include <linux/clk.h>
-#include <linux/clk-provider.h>
 #include <linux/clocksource.h>
 #include <linux/console.h>
 #include <linux/module.h>
 #include <linux/cpu.h>
+#include <linux/of_clk.h>
 #include <linux/of_fdt.h>
 #include <linux/of.h>
 #include <linux/cache.h>
-- 
2.17.1


_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARC: Replace <linux/clk-provider.h> by <linux/of_clk.h>
  2020-02-12 10:00 [PATCH] ARC: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
@ 2020-02-12 17:06 ` Stephen Boyd
  2020-02-12 17:30 ` Vineet Gupta
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2020-02-12 17:06 UTC (permalink / raw)
  To: Geert Uytterhoeven, Vineet Gupta
  Cc: linux-snps-arc, linux-clk, Geert Uytterhoeven, linux-kernel

Quoting Geert Uytterhoeven (2020-02-12 02:00:47)
> The ARC 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>

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARC: Replace <linux/clk-provider.h> by <linux/of_clk.h>
  2020-02-12 10:00 [PATCH] ARC: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
  2020-02-12 17:06 ` Stephen Boyd
@ 2020-02-12 17:30 ` Vineet Gupta
  2020-02-12 18:24   ` Geert Uytterhoeven
  1 sibling, 1 reply; 4+ messages in thread
From: Vineet Gupta @ 2020-02-12 17:30 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-snps-arc, linux-clk, linux-kernel

On 2/12/20 2:00 AM, Geert Uytterhoeven wrote:
> The ARC 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>

Thx for this Geert. Do you want me to pick this up.

Thx,
-Vineet

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARC: Replace <linux/clk-provider.h> by <linux/of_clk.h>
  2020-02-12 17:30 ` Vineet Gupta
@ 2020-02-12 18:24   ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2020-02-12 18:24 UTC (permalink / raw)
  To: Vineet Gupta; +Cc: linux-snps-arc, linux-clk, Geert Uytterhoeven, linux-kernel

Hi Vineet,

On Wed, Feb 12, 2020 at 6:30 PM Vineet Gupta <Vineet.Gupta1@synopsys.com> wrote:
> On 2/12/20 2:00 AM, Geert Uytterhoeven wrote:
> > The ARC 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>
>
> Thx for this Geert. Do you want me to pick this up.

Yes please. Thanks!

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 10:00 [PATCH] ARC: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
2020-02-12 17:06 ` Stephen Boyd
2020-02-12 17:30 ` Vineet Gupta
2020-02-12 18:24   ` Geert Uytterhoeven

Linux SNPS ARC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-snps-arc/0 linux-snps-arc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-snps-arc linux-snps-arc/ https://lore.kernel.org/linux-snps-arc \
		linux-snps-arc@lists.infradead.org
	public-inbox-index linux-snps-arc

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-snps-arc


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git