From: Dave Gerlach Date: Wed, 29 Mar 2017 01:57:56 +0000 (-0500) Subject: ARM: OMAP2+: pm: Remove __init from omap_pm_clkdms_setup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=33d3842d640e981e2c5ee772befff756b7f2d6f3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Tony Lindgren --- 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;