提交 5838bb67 编写于 作者: F Felipe Balbi 提交者: Paul Walmsley

OMAP1 clock: fix section mismatch on clk_init

remove the section annotation from omap1_clk_disable_unused()
to kill the section mismatch warning.
Signed-off-by: NFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: NPaul Walmsley <paul@pwsan.com>
上级 b91da669
...@@ -578,7 +578,7 @@ int omap1_clk_set_rate(struct clk *clk, unsigned long rate) ...@@ -578,7 +578,7 @@ int omap1_clk_set_rate(struct clk *clk, unsigned long rate)
#ifdef CONFIG_OMAP_RESET_CLOCKS #ifdef CONFIG_OMAP_RESET_CLOCKS
void __init omap1_clk_disable_unused(struct clk *clk) void omap1_clk_disable_unused(struct clk *clk)
{ {
__u32 regval32; __u32 regval32;
......
...@@ -39,7 +39,7 @@ extern long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate); ...@@ -39,7 +39,7 @@ extern long omap1_clk_round_rate_ckctl_arm(struct clk *clk, unsigned long rate);
extern unsigned long omap1_watchdog_recalc(struct clk *clk); extern unsigned long omap1_watchdog_recalc(struct clk *clk);
#ifdef CONFIG_OMAP_RESET_CLOCKS #ifdef CONFIG_OMAP_RESET_CLOCKS
extern void __init omap1_clk_disable_unused(struct clk *clk); extern void omap1_clk_disable_unused(struct clk *clk);
#else #else
#define omap1_clk_disable_unused NULL #define omap1_clk_disable_unused NULL
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册