diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-11-20 16:02:59 +0300 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-31 21:26:36 +0300 |
commit | ab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d (patch) | |
tree | d4d34e048713a8f7029ec525118469b7a79d35d8 /arch/arm/mach-omap2/prm3xxx.h | |
parent | 2208bf115fecae211480ea41d25e6d56ec20d405 (diff) | |
download | linux-ab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d.tar.xz |
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/prm3xxx.h')
-rw-r--r-- | arch/arm/mach-omap2/prm3xxx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/prm3xxx.h b/arch/arm/mach-omap2/prm3xxx.h index 55e4c898ba25..5f095eec339c 100644 --- a/arch/arm/mach-omap2/prm3xxx.h +++ b/arch/arm/mach-omap2/prm3xxx.h @@ -140,7 +140,7 @@ extern u32 omap3_prm_vcvp_read(u8 offset); extern void omap3_prm_vcvp_write(u32 val, u8 offset); extern u32 omap3_prm_vcvp_rmw(u32 mask, u32 bits, u8 offset); -extern int __init omap3xxx_prm_init(void); +int __init omap3xxx_prm_init(const struct omap_prcm_init_data *data); void omap3xxx_prm_iva_idle(void); void omap3_prm_reset_modem(void); int omap3xxx_prm_clear_global_cold_reset(void); |