summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/sram.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-02-28 14:27:01 -0800
committerTony Lindgren <tony@atomide.com>2012-02-28 14:27:01 -0800
commita5bee307ba7befc96a97915d6d45ffbe1e5f9a20 (patch)
tree544713c8b4359221df3677fb93a52892c57fbcee /arch/arm/plat-omap/sram.c
parent0aac881246fb25d017617cd7be68e93326d51ce1 (diff)
parentacea7c7b81e8f67513aebade8cb99c7789c44d8c (diff)
downloadlinux-a5bee307ba7befc96a97915d6d45ffbe1e5f9a20.tar.bz2
Merge branch 'iomap' into cleanup
Diffstat (limited to 'arch/arm/plat-omap/sram.c')
-rw-r--r--arch/arm/plat-omap/sram.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c
index 4243bdcc87bc..3022fc267d23 100644
--- a/arch/arm/plat-omap/sram.c
+++ b/arch/arm/plat-omap/sram.c
@@ -31,11 +31,10 @@
#include "sram.h"
-/* XXX These "sideways" includes are a sign that something is wrong */
-#if defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3)
-# include "../mach-omap2/prm2xxx_3xxx.h"
-# include "../mach-omap2/sdrc.h"
-#endif
+/* XXX These "sideways" includes will disappear when sram.c becomes a driver */
+#include "../mach-omap2/iomap.h"
+#include "../mach-omap2/prm2xxx_3xxx.h"
+#include "../mach-omap2/sdrc.h"
#define OMAP1_SRAM_PA 0x20000000
#define OMAP2_SRAM_PUB_PA (OMAP2_SRAM_PA + 0xf800)