]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dma: coh901318: push header down into the DMA subsystem
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Jan 2013 12:56:16 +0000 (13:56 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Jan 2013 16:36:28 +0000 (17:36 +0100)
The defines in U300's <mach/coh901318.h> are now only used by
the DMA engine driver itself, so move the header down into the
DMA subsystem.

Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-u300/core.c
arch/arm/mach-u300/spi.c
drivers/dma/coh901318.c
drivers/dma/coh901318.h [moved from arch/arm/mach-u300/include/mach/coh901318.h with 99% similarity]
drivers/dma/coh901318_lli.c
drivers/dma/coh901318_lli.h

index 834d0bd2aa0ff28405b51768ea64b3e0d6e518bd..19f5c5311f47275eeee44c8f8664bab79cd0356a 100644 (file)
@@ -41,7 +41,6 @@
 #include <asm/mach-types.h>
 #include <asm/mach/arch.h>
 
-#include <mach/coh901318.h>
 #include <mach/hardware.h>
 #include <mach/syscon.h>
 #include <mach/irqs.h>
index b34567f944cac34222068f56660aa5ca5d2701ed..910698293d64790416d6af1e7085539e5d7bc0d0 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/amba/pl022.h>
 #include <linux/platform_data/dma-coh901318.h>
 #include <linux/err.h>
-#include <mach/coh901318.h>
 
 /*
  * The following is for the actual devices on the SSP/SPI bus
index 7fa54fb7ab687b29f6eb186d2140d60eddafea23..1be69b87a9130b9413b89514a8460cb58e8413e0 100644 (file)
@@ -22,8 +22,8 @@
 #include <linux/uaccess.h>
 #include <linux/debugfs.h>
 #include <linux/platform_data/dma-coh901318.h>
-#include <mach/coh901318.h>
 
+#include "coh901318.h"
 #include "coh901318_lli.h"
 #include "dmaengine.h"
 
similarity index 99%
rename from arch/arm/mach-u300/include/mach/coh901318.h
rename to drivers/dma/coh901318.h
index 185fc59fd729eeae9b6a11551cd77e38eae11d9e..9353c40b152a3be6474d1b9b85fb8c03f917b5a5 100644 (file)
@@ -1,9 +1,5 @@
 /*
- *
- * include/linux/coh901318.h
- *
- *
- * Copyright (C) 2007-2009 ST-Ericsson
+ * Copyright (C) 2007-2013 ST-Ericsson
  * License terms: GNU General Public License (GPL) version 2
  * DMA driver for COH 901 318
  * Author: Per Friden <per.friden@stericsson.com>
index 780e0429b38cd30236001e4a121cefc6fa347aea..e25cac0af3f6d6d7c4a1a0d0ba6259591d612391 100644 (file)
@@ -11,8 +11,8 @@
 #include <linux/memory.h>
 #include <linux/gfp.h>
 #include <linux/dmapool.h>
-#include <mach/coh901318.h>
 
+#include "coh901318.h"
 #include "coh901318_lli.h"
 
 #if (defined(CONFIG_DEBUG_FS) && defined(CONFIG_U300_DEBUG))
index abff3714fdda73ed508d588c3b1b3fc923d08e89..0c7caceef63ba8b94debc33328ae24ba72f5a529 100644 (file)
@@ -10,8 +10,6 @@
 #ifndef COH901318_LLI_H
 #define COH901318_LLI_H
 
-#include <mach/coh901318.h>
-
 struct device;
 
 struct coh901318_pool {