diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-11-22 00:15:16 +0100 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-22 00:15:16 +0100 |
commit | 63a293e0005eb86c76657256737a931add8acbdc (patch) | |
tree | 121dd5100883538a32f00f24923828e5a3d42a04 /arch/arm/mach-omap2/prm2xxx.h | |
parent | Merge tag 'omap-cleanup-c-for-3.8' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
download | linux-63a293e0005eb86c76657256737a931add8acbdc.tar.xz linux-63a293e0005eb86c76657256737a931add8acbdc.zip |
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/prm2xxx.h')
-rw-r--r-- | arch/arm/mach-omap2/prm2xxx.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/prm2xxx.h b/arch/arm/mach-omap2/prm2xxx.h index fe8a14f190ab..3194dd87e0e4 100644 --- a/arch/arm/mach-omap2/prm2xxx.h +++ b/arch/arm/mach-omap2/prm2xxx.h @@ -126,8 +126,7 @@ extern int omap2xxx_clkdm_wakeup(struct clockdomain *clkdm); extern void omap2xxx_prm_dpll_reset(void); -extern int __init prm2xxx_init(void); -extern int __exit prm2xxx_exit(void); +extern int __init omap2xxx_prm_init(void); #endif |