Linux-Clk Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH V2 1/5] clk: imx: Remove __init for imx_obtain_fixed_clk_hw() API
@ 2020-01-07  8:53 Anson Huang
  2020-01-07  8:53 ` [PATCH V2 2/5] clk: imx: Add support for i.MX8M hw based clk provider Anson Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Anson Huang @ 2020-01-07  8:53 UTC (permalink / raw)
  To: mturquette, sboyd, robh+dt, mark.rutland, shawnguo, s.hauer,
	kernel, festevam, catalin.marinas, will, bjorn.andersson, olof,
	maxime, leonard.crestez, dinguyen, marcin.juszkiewicz, ping.bai,
	abel.vesa, nsekhar, t-kristo, peng.fan, yuehaibing, aisheng.dong,
	sfr, linux-clk, devicetree, linux-arm-kernel, linux-kernel
  Cc: Linux-imx

Some of i.MX SoCs' clock driver use platform driver model,
and they need to call imx_obtain_fixed_clk_hw() API, so
imx_obtain_fixed_clk_hw() API should NOT be in .init section.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
New patch.
---
 drivers/clk/imx/clk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/imx/clk.c b/drivers/clk/imx/clk.c
index cfc05e4..e61d6d7 100644
--- a/drivers/clk/imx/clk.c
+++ b/drivers/clk/imx/clk.c
@@ -94,8 +94,8 @@ struct clk_hw * __init imx_obtain_fixed_clock_hw(
 	return __clk_get_hw(clk);
 }
 
-struct clk_hw * __init imx_obtain_fixed_clk_hw(struct device_node *np,
-					       const char *name)
+struct clk_hw *imx_obtain_fixed_clk_hw(struct device_node *np,
+					const char *name)
 {
 	struct clk *clk;
 
-- 
2.7.4


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

end of thread, back to index

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-07  8:53 [PATCH V2 1/5] clk: imx: Remove __init for imx_obtain_fixed_clk_hw() API Anson Huang
2020-01-07  8:53 ` [PATCH V2 2/5] clk: imx: Add support for i.MX8M hw based clk provider Anson Huang
2020-01-07  9:41   ` Peng Fan
2020-01-08  0:51     ` Anson Huang
2020-01-07  8:53 ` [PATCH V2 3/5] dt-bindings: imx: Add clock binding doc for i.MX8MP Anson Huang
2020-01-07  8:53 ` [PATCH V2 4/5] clk: imx: Add support for i.MX8MP clock driver Anson Huang
2020-01-07  8:53 ` [PATCH V2 5/5] arm64: defconfig: Enable CONFIG_CLK_IMX8MP by default Anson Huang

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