public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [ARM] pxa: explicit #include <mach/dma.h> in various drivers
@ 2008-12-01  3:49 Eric Miao
  2008-12-01 12:33 ` UBIFS error CRC calculation on avr32 CPU Eirik Aanonsen
  0 siblings, 1 reply; 9+ messages in thread
From: Eric Miao @ 2008-12-01  3:49 UTC (permalink / raw)
  To: ARM Linux; +Cc: netdev, alsa-devel, linux-mtd

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 |    2 +-
 drivers/net/smc911x.h          |    3 +++
 sound/arm/pxa2xx-pcm.h         |    2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c
index c0fa9c9..64b3be1 100644
--- a/drivers/mtd/nand/pxa3xx_nand.c
+++ b/drivers/mtd/nand/pxa3xx_nand.c
@@ -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>

diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h
index cc7d85b..870b4c3 100644
--- a/drivers/net/smc911x.h
+++ b/drivers/net/smc911x.h
@@ -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
diff --git a/sound/arm/pxa2xx-pcm.h b/sound/arm/pxa2xx-pcm.h
index 5c4a4d3..65f86b5 100644
--- a/sound/arm/pxa2xx-pcm.h
+++ b/sound/arm/pxa2xx-pcm.h
@@ -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;
-- 
1.6.0.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-12-05 11:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-01  3:49 [ARM] pxa: explicit #include <mach/dma.h> in various drivers Eric Miao
2008-12-01 12:33 ` UBIFS error CRC calculation on avr32 CPU Eirik Aanonsen
2008-12-02  8:44   ` Artem Bityutskiy
2008-12-02 12:59     ` Eirik Aanonsen
2008-12-02 15:15       ` Artem Bityutskiy
2008-12-03  7:55         ` Eirik Aanonsen
2008-12-03  9:25           ` Artem Bityutskiy
2008-12-05 10:46             ` Eirik Aanonsen
2008-12-05 10:58               ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox