]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] pxa: explicit #include <mach/dma.h> in various drivers
authorEric Miao <eric.miao@marvell.com>
Mon, 1 Dec 2008 03:43:08 +0000 (11:43 +0800)
committerEric Miao <eric.miao@marvell.com>
Tue, 2 Dec 2008 06:42:26 +0000 (14:42 +0800)
Where 'pxa_dma_desc' and 'pxa_{request,free}_dma' are referenced.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
drivers/mtd/nand/pxa3xx_nand.c
drivers/net/smc911x.h
sound/arm/pxa2xx-pcm.h

index c0fa9c9edf089c1a039ded475fb13740cfa52d1f..64b3be1ea0a3e671532f7d46e71e68242a66bdc2 100644 (file)
@@ -20,8 +20,8 @@
 #include <linux/mtd/partitions.h>
 #include <linux/io.h>
 #include <linux/irq.h>
-#include <asm/dma.h>
 
+#include <mach/dma.h>
 #include <mach/pxa-regs.h>
 #include <mach/pxa3xx_nand.h>
 
index cc7d85bdfb3e5034de17312bfa9fce01421558c0..870b4c33f108d87b384b3fe46c506d4f1cb1107e 100644 (file)
@@ -200,6 +200,9 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg,
 
 
 #ifdef SMC_USE_PXA_DMA
+
+#include <mach/dma.h>
+
 /*
  * Define the request and free functions
  * These are unfortunately architecture specific as no generic allocation
index 5c4a4d38a08399c1df3a60ea3bf02e78c70998cf..65f86b56ba422a2c28c6d0c70c731c6250df7c63 100644 (file)
@@ -9,7 +9,7 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-#include <asm/dma.h>
+#include <mach/dma.h>
 
 struct pxa2xx_runtime_data {
        int dma_ch;