* [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 related [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, other threads:[~2020-02-17 6:33 UTC | newest]
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).