Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5838bb67 authored by Felipe Balbi's avatar Felipe Balbi Committed by Paul Walmsley
Browse files

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: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent b91da669
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

+1 −1
Original line number Diff line number Diff line
@@ -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