[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1578387197-5750-1-git-send-email-Anson.Huang@nxp.com>
Date: Tue, 7 Jan 2020 16:53:13 +0800
From: Anson Huang <Anson.Huang@....com>
To: mturquette@...libre.com, sboyd@...nel.org, robh+dt@...nel.org,
mark.rutland@....com, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com, catalin.marinas@....com,
will@...nel.org, bjorn.andersson@...aro.org, olof@...om.net,
maxime@...no.tech, leonard.crestez@....com, dinguyen@...nel.org,
marcin.juszkiewicz@...aro.org, ping.bai@....com, abel.vesa@....com,
nsekhar@...com, t-kristo@...com, peng.fan@....com,
yuehaibing@...wei.com, aisheng.dong@....com, sfr@...b.auug.org.au,
linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Linux-imx@....com
Subject: [PATCH V2 1/5] clk: imx: Remove __init for imx_obtain_fixed_clk_hw() API
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@....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
Powered by blists - more mailing lists