diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-21 03:01:10 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-10-21 03:01:10 -0400 |
commit | 139563ad27e7baad7935b8113940f0d804cf513b (patch) | |
tree | f367d3813f1fb83773782537ad658f3cf3bb0508 /arch/arm/mach-omap2/control.c | |
parent | 7a0c19337c38a1ffa7587272e7784e6431e78eaa (diff) |
ARM: OMAP2+: PRM: split PRM functions into OMAP2, OMAP3-specific files
Move OMAP3xxx-specific PRM functions & macros into prm3xxx.[ch] and
OMAP2xxx-specific macros into prm2xxx.h. (prm2xxx.c will be created
by a subsequent patch when it's needed.) Move basic PRM register
access functions into static inline functions in prm2xxx_3xxx.h, leaving
only OMAP2/3 hardreset functions in prm2xxx_3xxx.c.
Also clarify the initcall function naming to reinforce that this code
is specifically for the PRM IP block.
This is in preparation for the upcoming powerdomain series and the
upcoming move of this code to drivers/.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Reviewed-by: Russ Dill <Russ.Dill@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/control.c')
-rw-r--r-- | arch/arm/mach-omap2/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index d1ff8399a222..1220e0ef0b86 100644 --- a/arch/arm/mach-omap2/control.c +++ b/arch/arm/mach-omap2/control.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include "common.h" | 22 | #include "common.h" |
23 | #include "cm-regbits-34xx.h" | 23 | #include "cm-regbits-34xx.h" |
24 | #include "prm-regbits-34xx.h" | 24 | #include "prm-regbits-34xx.h" |
25 | #include "prm2xxx_3xxx.h" | 25 | #include "prm3xxx.h" |
26 | #include "cm2xxx_3xxx.h" | 26 | #include "cm2xxx_3xxx.h" |
27 | #include "sdrc.h" | 27 | #include "sdrc.h" |
28 | #include "pm.h" | 28 | #include "pm.h" |