summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/prm44xx.h
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2012-11-21 16:15:16 -0700
committerPaul Walmsley <paul@pwsan.com>2012-11-21 16:15:16 -0700
commit63a293e0005eb86c76657256737a931add8acbdc (patch)
tree121dd5100883538a32f00f24923828e5a3d42a04 /arch/arm/mach-omap2/prm44xx.h
parent558a0780b0a04862a678f7823215424b4e5501f9 (diff)
ARM: OMAP2+: PRM: initialize some PRM functions early
Some PRM functions will need to be called by the hwmod code early in kernel init. To handle this, split the PRM initialization code into early and late phases. The early init is handled via mach-omap2/io.c, while the late init is handled by subsys_initcall(). Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm44xx.h')
-rw-r--r--arch/arm/mach-omap2/prm44xx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prm44xx.h b/arch/arm/mach-omap2/prm44xx.h
index c8e1accdc90..22b0979206c 100644
--- a/arch/arm/mach-omap2/prm44xx.h
+++ b/arch/arm/mach-omap2/prm44xx.h
@@ -771,6 +771,7 @@ extern void omap44xx_prm_ocp_barrier(void);
extern void omap44xx_prm_save_and_clear_irqen(u32 *saved_mask);
extern void omap44xx_prm_restore_irqen(u32 *saved_mask);
+extern int __init omap44xx_prm_init(void);
extern u32 omap44xx_prm_get_reset_sources(void);
# endif