linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] clk: mvebu: Remove inappropriate __init tagging
@ 2013-01-05  1:47 Joshua Coombs
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Coombs @ 2013-01-05  1:47 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Joshua Coombs <josh.coombs@gmail.com>
---
This is a fix for a bug and is intended for 3.8-rc

 drivers/clk/mvebu/clk-gating-ctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/mvebu/clk-gating-ctrl.c b/drivers/clk/mvebu/clk-gating-ctrl.c
index c6d3c26..8fa5408 100644
--- a/drivers/clk/mvebu/clk-gating-ctrl.c
+++ b/drivers/clk/mvebu/clk-gating-ctrl.c
@@ -32,7 +32,7 @@ struct mvebu_soc_descr {
 
 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw)
 
-static struct clk __init *mvebu_clk_gating_get_src(
+static struct clk *mvebu_clk_gating_get_src(
 	struct of_phandle_args *clkspec, void *data)
 {
 	struct mvebu_gating_ctrl *ctrl = (struct mvebu_gating_ctrl *)data;
-- 
1.8.0.2

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

* [PATCH v2] clk: mvebu: Remove inappropriate __init tagging
@ 2013-01-05  1:50 Joshua Coombs
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Coombs @ 2013-01-05  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

If the Orion WDT driver is built as a module, an opps occurs during clk lookup when calling mvebu_clk_gating_get_src().  Remove the inappropriate __init tag so the function is available for modules after kernel init.

Signed-off-by: Joshua Coombs <josh.coombs@gmail.com>
---
This is a fix for a bug and is intended for 3.8-rc

 drivers/clk/mvebu/clk-gating-ctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/mvebu/clk-gating-ctrl.c b/drivers/clk/mvebu/clk-gating-ctrl.c
index c6d3c26..8fa5408 100644
--- a/drivers/clk/mvebu/clk-gating-ctrl.c
+++ b/drivers/clk/mvebu/clk-gating-ctrl.c
@@ -32,7 +32,7 @@ struct mvebu_soc_descr {
 
 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw)
 
-static struct clk __init *mvebu_clk_gating_get_src(
+static struct clk *mvebu_clk_gating_get_src(
 	struct of_phandle_args *clkspec, void *data)
 {
 	struct mvebu_gating_ctrl *ctrl = (struct mvebu_gating_ctrl *)data;
-- 
1.8.0.2

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

end of thread, other threads:[~2013-01-05  1:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-05  1:50 [PATCH v2] clk: mvebu: Remove inappropriate __init tagging Joshua Coombs
  -- strict thread matches above, loose matches on Subject: below --
2013-01-05  1:47 Joshua Coombs

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).