Linux-Clk Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] clk: imx7ulp: Include clk-provider.h instead of clk.h
@ 2020-02-12  9:09 Anson Huang
  2020-02-12 20:58 ` Stephen Boyd
  2020-02-17  6:33 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Anson Huang @ 2020-02-12  9:09 UTC (permalink / raw)
  To: mturquette, sboyd, shawnguo, s.hauer, kernel, festevam,
	abel.vesa, peng.fan, chen.fang, linux-clk, linux-arm-kernel,
	linux-kernel
  Cc: Linux-imx

The i.MX7ULP clock driver is provider, NOT consumer, so clk-provider.h
should be used instead of clk.h.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/clk/imx/clk-imx7ulp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/imx/clk-imx7ulp.c b/drivers/clk/imx/clk-imx7ulp.c
index 0620d6c..3710aa0 100644
--- a/drivers/clk/imx/clk-imx7ulp.c
+++ b/drivers/clk/imx/clk-imx7ulp.c
@@ -8,7 +8,7 @@
  */
 
 #include <dt-bindings/clock/imx7ulp-clock.h>
-#include <linux/clk.h>
+#include <linux/clk-provider.h>
 #include <linux/err.h>
 #include <linux/init.h>
 #include <linux/io.h>
-- 
2.7.4


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

* Re: [PATCH] clk: imx7ulp: Include clk-provider.h instead of clk.h
  2020-02-12  9:09 [PATCH] clk: imx7ulp: Include clk-provider.h instead of clk.h Anson Huang
@ 2020-02-12 20:58 ` Stephen Boyd
  2020-02-17  6:33 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2020-02-12 20:58 UTC (permalink / raw)
  To: Anson Huang, abel.vesa, chen.fang, festevam, kernel,
	linux-arm-kernel, linux-clk, linux-kernel, mturquette, peng.fan,
	s.hauer, shawnguo
  Cc: Linux-imx

Quoting Anson Huang (2020-02-12 01:09:43)
> The i.MX7ULP clock driver is provider, NOT consumer, so clk-provider.h
> should be used instead of clk.h.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

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

* Re: [PATCH] clk: imx7ulp: Include clk-provider.h instead of clk.h
  2020-02-12  9:09 [PATCH] clk: imx7ulp: Include clk-provider.h instead of clk.h Anson Huang
  2020-02-12 20:58 ` Stephen Boyd
@ 2020-02-17  6:33 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2020-02-17  6:33 UTC (permalink / raw)
  To: Anson Huang
  Cc: mturquette, sboyd, s.hauer, kernel, festevam, abel.vesa,
	peng.fan, chen.fang, linux-clk, linux-arm-kernel, linux-kernel,
	Linux-imx

On Wed, Feb 12, 2020 at 05:09:43PM +0800, Anson Huang wrote:
> The i.MX7ULP clock driver is provider, NOT consumer, so clk-provider.h
> should be used instead of clk.h.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Applied, thanks.

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12  9:09 [PATCH] clk: imx7ulp: Include clk-provider.h instead of clk.h Anson Huang
2020-02-12 20:58 ` Stephen Boyd
2020-02-17  6:33 ` Shawn Guo

Linux-Clk Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-clk/0 linux-clk/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-clk linux-clk/ https://lore.kernel.org/linux-clk \
		linux-clk@vger.kernel.org
	public-inbox-index linux-clk

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-clk


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