summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2017-03-29 04:57:56 +0300
committerTony Lindgren <tony@atomide.com>2017-05-16 18:44:58 +0300
commit33d3842d640e981e2c5ee772befff756b7f2d6f3 (patch)
tree0d2f1f54ced2402f36f7971fe4bc44abb67d4d3f
parent12b28ba6d6164d3aa54b7e32032bcbd9b7c2a320 (diff)
downloadlinux-33d3842d640e981e2c5ee772befff756b7f2d6f3.tar.xz
ARM: OMAP2+: pm: Remove __init from omap_pm_clkdms_setup
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>
-rw-r--r--arch/arm/mach-omap2/pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index 63027e60cc20..366158a54fcd 100644
--- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c
@@ -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;