Skip to content

Commit

Permalink
[ARM] pxa: explicit #include <mach/dma.h> in various drivers
Browse files Browse the repository at this point in the history
Where 'pxa_dma_desc' and 'pxa_{request,free}_dma' are referenced.

Signed-off-by: Eric Miao <[email protected]>
  • Loading branch information
Eric Miao committed Dec 2, 2008
1 parent ed31348 commit afb5b5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/pxa3xx_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
3 changes: 3 additions & 0 deletions drivers/net/smc911x.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sound/arm/pxa2xx-pcm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit afb5b5c

Please sign in to comment.