diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 18:11:46 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 19:25:01 -0400 |
commit | 5725aeae5ff2e39f3815bbef788ee326c9afea2c (patch) | |
tree | 4f32f936ba18384d48ab1e537b787a8ce666263f /arch/arm/plat-omap/io.c | |
parent | 43872fa788060eef91ae437957e0a5e39f1c56fd (diff) | |
parent | 0cdc8b921d68817b687755b4f6ae20cd8ff1d026 (diff) |
Merge branch 'depends/rmk/memory_h' into next/fixes
Fix up all conflicts between the memory.h cleanup and bug fixes.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/plat-omap/io.c')
-rw-r--r-- | arch/arm/plat-omap/io.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/io.c b/arch/arm/plat-omap/io.c index f1ecfa9fc61d..e9b0e23edd0a 100644 --- a/arch/arm/plat-omap/io.c +++ b/arch/arm/plat-omap/io.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/module.h> | 12 | #include <linux/module.h> |
13 | #include <linux/io.h> | 13 | #include <linux/io.h> |
14 | #include <linux/mm.h> | 14 | #include <linux/mm.h> |
15 | #include <linux/dma-mapping.h> | ||
15 | 16 | ||
16 | #include <plat/omap7xx.h> | 17 | #include <plat/omap7xx.h> |
17 | #include <plat/omap1510.h> | 18 | #include <plat/omap1510.h> |
@@ -139,3 +140,10 @@ void omap_iounmap(volatile void __iomem *addr) | |||
139 | __iounmap(addr); | 140 | __iounmap(addr); |
140 | } | 141 | } |
141 | EXPORT_SYMBOL(omap_iounmap); | 142 | EXPORT_SYMBOL(omap_iounmap); |
143 | |||
144 | void __init omap_init_consistent_dma_size(void) | ||
145 | { | ||
146 | #ifdef CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE | ||
147 | init_consistent_dma_size(CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE << 20); | ||
148 | #endif | ||
149 | } | ||