]> Pileus Git - ~andy/linux/commitdiff
ARM: OMAP: Move omap_init_consistent_dma_size() to local common.h
authorTony Lindgren <tony@atomide.com>
Fri, 24 Feb 2012 18:34:33 +0000 (10:34 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 24 Feb 2012 18:34:33 +0000 (10:34 -0800)
We don't want to keep it in io.h as we want to remove io.h
for omap2+ for the common zImage support.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/common.h
arch/arm/mach-omap2/common.h
arch/arm/plat-omap/include/plat/io.h

index a9a5146dd2d4d3877f021780ef02b323b3669c9a..af658ad338ec8d253f3da5b649a3a6a27ae7df59 100644 (file)
@@ -58,5 +58,6 @@ void omap1_restart(char, const char *);
 
 extern struct sys_timer omap1_timer;
 extern bool omap_32k_timer_init(void);
+extern void __init omap_init_consistent_dma_size(void);
 
 #endif /* __ARCH_ARM_MACH_OMAP1_COMMON_H */
index 5aa1acbcc33e194c944daba24b9c1d33d06121f1..f78ec4e6a5c70509a77a6b22173d307f120f9648 100644 (file)
@@ -133,6 +133,8 @@ void am33xx_map_io(void);
 void omap4_map_io(void);
 void ti81xx_map_io(void);
 
+extern void __init omap_init_consistent_dma_size(void);
+
 /**
  * omap_test_timeout - busy-loop, testing a condition
  * @cond: condition to test until it evaluates to true
index f5b386b76361c27feebdef55bd449e49b92be4b4..28cd796586330c1da74fa0bdb71089e851621ed6 100644 (file)
@@ -266,8 +266,6 @@ extern void omap_writeb(u8 v, u32 pa);
 extern void omap_writew(u16 v, u32 pa);
 extern void omap_writel(u32 v, u32 pa);
 
-extern void __init omap_init_consistent_dma_size(void);
-
 #endif
 
 #endif