Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1611481 > unrolled thread

[PATCH 3/8] ARM: OMAP2+: pm: Remove __init from omap_pm_clkdms_setup

Started byDave Gerlach <d-gerlach@ti.com>
First post2017-03-29 04:00 +0200
Last post2017-03-29 04:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/8] ARM: OMAP2+: pm: Remove __init from omap_pm_clkdms_setup Dave Gerlach <d-gerlach@ti.com> - 2017-03-29 04:00 +0200

#1611481 — [PATCH 3/8] ARM: OMAP2+: pm: Remove __init from omap_pm_clkdms_setup

FromDave Gerlach <d-gerlach@ti.com>
Date2017-03-29 04:00 +0200
Subject[PATCH 3/8] ARM: OMAP2+: pm: Remove __init from omap_pm_clkdms_setup
Message-ID<tqb3X-8bm-1@gated-at.bofh.it>
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>
---
 arch/arm/mach-omap2/pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index 0598630c1778..486d3179af07 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;
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web