diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-11-20 14:02:59 +0100 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-31 20:26:36 +0200 |
commit | ab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d (patch) | |
tree | d4d34e048713a8f7029ec525118469b7a79d35d8 /arch/arm/mach-omap2/prm2xxx.c | |
parent | ARM: OMAP2+: control: determine control module base address from DT (diff) | |
download | linux-ab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d.tar.xz linux-ab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d.zip |
ARM: OMAP2+: PRM: move SoC specific init calls within a generic API
This gets rid of need for some exported driver APIs, and simplifies the
initialization of the PRM driver. Done in preparation to make PRM a
separate driver. The init data is now also passed to the SoC specific
implementations, allowing future expansion to add feature flags etc.
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/prm2xxx.c b/arch/arm/mach-omap2/prm2xxx.c index 29e203f38d07..752018ce129c 100644 --- a/arch/arm/mach-omap2/prm2xxx.c +++ b/arch/arm/mach-omap2/prm2xxx.c @@ -220,9 +220,8 @@ static struct prm_ll_data omap2xxx_prm_ll_data = { .clear_mod_irqs = &omap2xxx_prm_clear_mod_irqs, }; -int __init omap2xxx_prm_init(void) +int __init omap2xxx_prm_init(const struct omap_prcm_init_data *data) { - omap2_prm_base_init(); return prm_register(&omap2xxx_prm_ll_data); } |