Browse Source

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>
Dave Gerlach 8 năm trước cách đây
mục cha
commit
33d3842d64
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      arch/arm/mach-omap2/pm.c

+ 1 - 1
arch/arm/mach-omap2/pm.c

@@ -71,7 +71,7 @@ void omap_pm_get_oscillator(u32 *tstart, u32 *tshut)
 }
 }
 #endif
 #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);
 	clkdm_allow_idle(clkdm);
 	return 0;
 	return 0;