diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-24 13:34:35 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-24 13:34:35 -0500 |
commit | ee0839c22cdda7f2e5f06e2d0351e2b49e0975ff (patch) | |
tree | 43aae8ac684d982860304731cda8a5e5295c562e /arch/arm/mach-omap2/pm24xx.c | |
parent | 2e3ee9f45b3c25faa012abc9a62ab7aa515cd617 (diff) |
ARM: OMAP2+: Move most of plat/io.h into local iomap.h
There's no need to have these defines in plat/io.h.
Note that we now need to ifdef omap_read/write calls
as they will be available for omap1 only.
While at it, clean up the includes to group them like
they typically are grouped.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm24xx.c')
-rw-r--r-- | arch/arm/mach-omap2/pm24xx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/pm24xx.c b/arch/arm/mach-omap2/pm24xx.c index 6d63973c7f15..423a9a957b84 100644 --- a/arch/arm/mach-omap2/pm24xx.c +++ b/arch/arm/mach-omap2/pm24xx.c | |||
@@ -35,12 +35,14 @@ | |||
35 | #include <asm/mach/irq.h> | 35 | #include <asm/mach/irq.h> |
36 | #include <asm/mach-types.h> | 36 | #include <asm/mach-types.h> |
37 | 37 | ||
38 | #include <mach/irqs.h> | ||
39 | #include <plat/clock.h> | 38 | #include <plat/clock.h> |
40 | #include <plat/sram.h> | 39 | #include <plat/sram.h> |
41 | #include <plat/dma.h> | 40 | #include <plat/dma.h> |
42 | #include <plat/board.h> | 41 | #include <plat/board.h> |
43 | 42 | ||
43 | #include <mach/irqs.h> | ||
44 | |||
45 | #include "iomap.h" | ||
44 | #include "common.h" | 46 | #include "common.h" |
45 | #include "prm2xxx_3xxx.h" | 47 | #include "prm2xxx_3xxx.h" |
46 | #include "prm-regbits-24xx.h" | 48 | #include "prm-regbits-24xx.h" |
@@ -49,7 +51,6 @@ | |||
49 | #include "sdrc.h" | 51 | #include "sdrc.h" |
50 | #include "pm.h" | 52 | #include "pm.h" |
51 | #include "control.h" | 53 | #include "control.h" |
52 | |||
53 | #include "powerdomain.h" | 54 | #include "powerdomain.h" |
54 | #include "clockdomain.h" | 55 | #include "clockdomain.h" |
55 | 56 | ||