summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/sram.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2009-10-02 20:05:29 +0200
committerKevin Hilman <khilman@deeprootsystems.com>2009-11-25 19:21:31 +0100
commit42d399e4189346b495fec8a9a267e8b7f744ee48 (patch)
tree0549b107249544fc2913a9f3a5c868f6086e9df0 /arch/arm/mach-davinci/sram.c
parentdavinci: make it easier to identify SoC init failures (diff)
downloadlinux-42d399e4189346b495fec8a9a267e8b7f744ee48.tar.xz
linux-42d399e4189346b495fec8a9a267e8b7f744ee48.zip
DaVinci: remove unneeded #include's
There have accumulated quite a lot of them after the code reorganizations... In several cases I had to replace #include <linux/dma-mapping.h> which wasn't needed directly but happened to #include <linux/err.h> which was needed. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/sram.c')
-rw-r--r--arch/arm/mach-davinci/sram.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/sram.c b/arch/arm/mach-davinci/sram.c
index 4f1fc9b318b3..db0f7787faf1 100644
--- a/arch/arm/mach-davinci/sram.c
+++ b/arch/arm/mach-davinci/sram.c
@@ -9,15 +9,12 @@
* (at your option) any later version.
*/
#include <linux/module.h>
-#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/genalloc.h>
#include <mach/common.h>
-#include <mach/memory.h>
#include <mach/sram.h>
-
static struct gen_pool *sram_pool;
void *sram_alloc(size_t len, dma_addr_t *dma)