Skip to content

Commit

Permalink
ARM: OMAP2+: pm: Remove __init from omap_pm_clkdms_setup
Browse files Browse the repository at this point in the history
omap_pm_clkdms_setup gets called from pm init functions and now that
pm33xx and pm43xx can be loaded as modules this must be kept to be
called at any point during runtime.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Dave Gerlach authored and Tony Lindgren committed May 16, 2017
1 parent 12b28ba commit 33d3842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void omap_pm_get_oscillator(u32 *tstart, u32 *tshut)
}
#endif

int __init omap_pm_clkdms_setup(struct clockdomain *clkdm, void *unused)
int omap_pm_clkdms_setup(struct clockdomain *clkdm, void *unused)
{
clkdm_allow_idle(clkdm);
return 0;
Expand Down

0 comments on commit 33d3842

Please sign in to comment.