summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/prm2xxx.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-11-11 18:17:18 +0300
committerTero Kristo <t-kristo@ti.com>2015-03-27 11:55:58 +0300
commitae521d4d9c54995df1e0fb53ef6820374a3cae4e (patch)
tree977166d09c5836b2c6a87019667d11da96e6246f /arch/arm/mach-omap2/prm2xxx.c
parent5970ca2db960b2c14e077d27950e402e063298e6 (diff)
downloadlinux-ae521d4d9c54995df1e0fb53ef6820374a3cae4e.tar.xz
ARM: OMAP2+: PRM: determine PRM base address from device tree
There is no need to provide the PRM base address through a low-level API from the low-level IO init, as this information is available through DT. Re-routed the parsing function to be called from the PRM drivers also to simplify the implementation under io.c. Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm2xxx.c')
-rw-r--r--arch/arm/mach-omap2/prm2xxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prm2xxx.c b/arch/arm/mach-omap2/prm2xxx.c
index bacb05e8cc39..29e203f38d07 100644
--- a/arch/arm/mach-omap2/prm2xxx.c
+++ b/arch/arm/mach-omap2/prm2xxx.c
@@ -222,6 +222,7 @@ static struct prm_ll_data omap2xxx_prm_ll_data = {
int __init omap2xxx_prm_init(void)
{
+ omap2_prm_base_init();
return prm_register(&omap2xxx_prm_ll_data);
}