[PATCH 07/16] ARM: OMAP: Make plat/sram.h local to plat-omap

From
Jon Hunter <hidden>
Date
2012-10-05 13:58:51
Also in
linux-omap
Reply to
Tony Lindgren, 2012-10-04
Hi Tony,

On 10/04/2012 05:04 PM, Tony Lindgren wrote:
quoted hunk ↗ jump to hunk
We can move this from plat to be local to plat-omap
for common ARM zImage support.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/mach-omap1/clock.c                  |    3 -
 arch/arm/mach-omap1/clock_data.c             |    3 -
 arch/arm/mach-omap1/devices.c                |    2 
 arch/arm/mach-omap1/pm.c                     |    3 -
 arch/arm/mach-omap2/clkt2xxx_dpllcore.c      |    3 -
 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c |    3 -
 arch/arm/mach-omap2/clkt34xx_dpll3m2.c       |    3 -
 arch/arm/mach-omap2/io.c                     |    3 -
 arch/arm/mach-omap2/omap4-common.c           |    4 -
 arch/arm/mach-omap2/pm24xx.c                 |    3 -
 arch/arm/mach-omap2/pm34xx.c                 |    3 -
 arch/arm/mach-omap2/sdrc.c                   |    2 
 arch/arm/mach-omap2/sdrc2xxx.c               |    2 
 arch/arm/mach-omap2/sleep34xx.S              |    2 
 arch/arm/plat-omap/common.h                  |    2 
 arch/arm/plat-omap/include/plat/sram.h       |  105 -------------------------
 arch/arm/plat-omap/sram.c                    |    1 
 arch/arm/plat-omap/sram.h                    |  109 +++++++++++++++++++++++++-
 18 files changed, 130 insertions(+), 126 deletions(-)
 delete mode 100644 arch/arm/plat-omap/include/plat/sram.h
diff --git a/arch/arm/mach-omap1/clock.c b/arch/arm/mach-omap1/clock.c
index 638f407..b15d4ee 100644
--- a/arch/arm/mach-omap1/clock.c
+++ b/arch/arm/mach-omap1/clock.c
@@ -24,11 +24,12 @@
 #include <plat/cpu.h>
 #include <plat/usb.h>
 #include <plat/clock.h>
-#include <plat/sram.h>
 #include <plat/clkdev_omap.h>
 
 #include <mach/hardware.h>
 
+#include "../plat-omap/sram.h"
Any reason why you did not put this in
arch/arm/plat-omap/include/plat-omap/ like we were discussing for dma
and dmtimers headers? Then it can be just "#include <plat-omap/sram.h>".
Just curious ...

Cheers
Jon
Thread (36 messages) 36 messages, 8 authors, last reply 2012-10-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help