diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-09-08 08:29:43 (GMT) |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-31 18:26:44 (GMT) |
commit | 48e0c1148d18de677f1b2aec179f36fb7c1e3839 (patch) | |
tree | a99f48711d42fe91fd81ef55d5ced8352c4bdc2f /arch/arm/mach-omap2/prminst44xx.h | |
parent | ab7b2ffcf576a49b51c240dcd68ca4b7cd60b84d (diff) | |
download | linux-48e0c1148d18de677f1b2aec179f36fb7c1e3839.tar.xz |
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 'arch/arm/mach-omap2/prminst44xx.h')
-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 fb1c9d7..0c03d07 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, |