diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-11-21 14:51:37 +0100 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-31 20:26:50 +0200 |
commit | 425dc8b2dff222ffd88f31f589dc647409cae0ce (patch) | |
tree | 43a3919b84c1119fda11fb22b48c828bc934eda6 /arch/arm/mach-omap2/cm3xxx.h | |
parent | ARM: OMAP4+: PRM: determine prm_device_inst based on DT compatibility (diff) | |
download | linux-425dc8b2dff222ffd88f31f589dc647409cae0ce.tar.xz linux-425dc8b2dff222ffd88f31f589dc647409cae0ce.zip |
ARM: OMAP2+: CM: 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 CM driver. Done in preparation to make CM 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/cm3xxx.h')
-rw-r--r-- | arch/arm/mach-omap2/cm3xxx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/cm3xxx.h b/arch/arm/mach-omap2/cm3xxx.h index 734a8581c0c4..bc444e2080a1 100644 --- a/arch/arm/mach-omap2/cm3xxx.h +++ b/arch/arm/mach-omap2/cm3xxx.h @@ -72,7 +72,7 @@ extern void omap3_cm_save_context(void); extern void omap3_cm_restore_context(void); extern void omap3_cm_save_scratchpad_contents(u32 *ptr); -extern int __init omap3xxx_cm_init(void); +int __init omap3xxx_cm_init(const struct omap_prcm_init_data *data); #endif |