diff options
author | Tero Kristo <t-kristo@ti.com> | 2015-02-23 16:57:32 +0300 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-25 12:03:52 +0300 |
commit | 3a3e1c88362429ca3a6ef84d232e56b197294ce0 (patch) | |
tree | 7a24e1d24d469f0dd83538900d02263db758b71b /arch/arm/mach-omap2/prcm-common.h | |
parent | e8e8f7e41b86c3d89e6db2cf9e54cf2b17ff112a (diff) | |
download | linux-3a3e1c88362429ca3a6ef84d232e56b197294ce0.tar.xz |
ARM: OMAP2+: PRCM: add support for static clock memmap indices
All clock provider related drivers will now register their iomaps
with a static index. This makes it easier to split up the individual
drivers to their own files in subsequent patches.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prcm-common.h')
-rw-r--r-- | arch/arm/mach-omap2/prcm-common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prcm-common.h b/arch/arm/mach-omap2/prcm-common.h index 6163d66102a3..ee38356b3601 100644 --- a/arch/arm/mach-omap2/prcm-common.h +++ b/arch/arm/mach-omap2/prcm-common.h @@ -518,6 +518,14 @@ struct omap_prcm_irq_setup { .priority = _priority \ } +/** + * struct omap_prcm_init_data - PRCM driver init data + * @index: clock memory mapping index to be used + */ +struct omap_prcm_init_data { + int index; +}; + extern void omap_prcm_irq_cleanup(void); extern int omap_prcm_register_chain_handler( struct omap_prcm_irq_setup *irq_setup); |