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>
This commit is contained in:
Tero Kristo
2015-02-23 15:57:32 +02:00
parent e8e8f7e41b
commit 3a3e1c8836
3 changed files with 59 additions and 29 deletions

View File

@@ -221,6 +221,7 @@ struct ti_dt_clk {
/* Static memmap indices */
enum {
TI_CLKM_CM = 0,
TI_CLKM_CM2,
TI_CLKM_PRM,
TI_CLKM_SCRM,
};