diff options
author | James Liao | 2015-07-28 15:37:34 +0800 |
---|---|---|
committer | James Liao | 2015-10-01 12:04:49 +0800 |
commit | e02940fc9ed323ae512f3ded62abaf9d6a3d3265 (patch) | |
tree | 29d6a642c135c6f6b1e6147855ffd8741b48c73b /drivers/clk/mediatek/clk-gate.c | |
parent | 07d130698b8e1ecf1a72d294b5f89a26fea1ec6f (diff) |
clk: mediatek: Add __initdata and __init for data and functions
Add __init for clock registration functions, and add __initdata for
mtk_gate_regs initial structures.
Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-gate.c')
-rw-r--r-- | drivers/clk/mediatek/clk-gate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mediatek/clk-gate.c b/drivers/clk/mediatek/clk-gate.c index 57020368a693..576bdb7c98b8 100644 --- a/drivers/clk/mediatek/clk-gate.c +++ b/drivers/clk/mediatek/clk-gate.c @@ -97,7 +97,7 @@ const struct clk_ops mtk_clk_gate_ops_setclr_inv = { .disable = mtk_cg_disable_inv, }; -struct clk *mtk_clk_register_gate( +struct clk * __init mtk_clk_register_gate( const char *name, const char *parent_name, struct regmap *regmap, |