diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-09-08 10:29:43 +0200 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-31 20:26:44 +0200 |
commit | 48e0c1148d18de677f1b2aec179f36fb7c1e3839 (patch) | |
tree | a99f48711d42fe91fd81ef55d5ced8352c4bdc2f /arch/arm/mach-omap2/prminst44xx.h | |
parent | ARM: OMAP2+: PRM: move SoC specific init calls within a generic API (diff) | |
download | linux-48e0c1148d18de677f1b2aec179f36fb7c1e3839.tar.xz linux-48e0c1148d18de677f1b2aec179f36fb7c1e3839.zip |
ARM: OMAP4+: PRM: determine prm_device_inst based on DT compatibility
PRM device instance offset is now provided through the prm_init_data.
This gets rid of some cpu_is_X / soc_is_X calls from PRM core code,
preparing for PRM to be its own separate driver.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to '')
-rw-r--r-- | arch/arm/mach-omap2/prminst44xx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prminst44xx.h b/arch/arm/mach-omap2/prminst44xx.h index fb1c9d7a2f9d..0c03d0731d7f 100644 --- a/arch/arm/mach-omap2/prminst44xx.h +++ b/arch/arm/mach-omap2/prminst44xx.h @@ -14,6 +14,7 @@ #define PRM_INSTANCE_UNKNOWN -1 extern s32 omap4_prmst_get_prm_dev_inst(void); +void omap4_prminst_set_prm_dev_inst(s32 dev_inst); /* * In an ideal world, we would not export these low-level functions, |