]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: OMAP2+: pm: Remove __init from omap_pm_clkdms_setup
authorDave Gerlach <d-gerlach@ti.com>
Wed, 29 Mar 2017 01:57:56 +0000 (20:57 -0500)
committerTony Lindgren <tony@atomide.com>
Tue, 16 May 2017 15:44:58 +0000 (08:44 -0700)
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>
arch/arm/mach-omap2/pm.c

index 63027e60cc209f1cb9b6067958ff692813233665..366158a54fcd8beae9ff50d712e1b5c63f87d456 100644 (file)
@@ -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;