diff options
author | Joshua Coombs <josh.coombs@gmail.com> | 2013-01-06 11:10:39 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-01-06 17:53:13 +0000 |
commit | 3810e6304185f5a5bc4bb99b0ed467a28e63e9ed (patch) | |
tree | c3fa7cc27d644031bc8176525024a220716d05d1 /drivers/clk | |
parent | 8758c885c43859266e45db588b1a5992c049c595 (diff) | |
download | op-kernel-dev-3810e6304185f5a5bc4bb99b0ed467a28e63e9ed.zip op-kernel-dev-3810e6304185f5a5bc4bb99b0ed467a28e63e9ed.tar.gz |
clk: mvebu: Remove inappropriate __init tagging
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>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/mvebu/clk-gating-ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |