Skip to content

Commit

Permalink
OMAP1 clock: fix section mismatch on clk_init
Browse files Browse the repository at this point in the history
remove the section annotation from omap1_clk_disable_unused()
to kill the section mismatch warning.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
  • Loading branch information
Felipe Balbi authored and Paul Walmsley committed May 20, 2010
1 parent b91da66 commit 5838bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap1/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ int omap1_clk_set_rate(struct clk *clk, unsigned long rate)

#ifdef CONFIG_OMAP_RESET_CLOCKS

void __init omap1_clk_disable_unused(struct clk *clk)
void omap1_clk_disable_unused(struct clk *clk)
{
__u32 regval32;

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap1/clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

#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
#define omap1_clk_disable_unused NULL
#endif
Expand Down

0 comments on commit 5838bb6

Please sign in to comment.