mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[ARM] pxa: explicit #include <mach/dma.h> in various drivers
Where 'pxa_dma_desc' and 'pxa_{request,free}_dma' are referenced. Signed-off-by: Eric Miao <eric.miao@marvell.com>
This commit is contained in:
parent
ed313489ba
commit
afb5b5c9ad
3 changed files with 5 additions and 2 deletions
|
@ -20,8 +20,8 @@
|
||||||
#include <linux/mtd/partitions.h>
|
#include <linux/mtd/partitions.h>
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <linux/irq.h>
|
#include <linux/irq.h>
|
||||||
#include <asm/dma.h>
|
|
||||||
|
|
||||||
|
#include <mach/dma.h>
|
||||||
#include <mach/pxa-regs.h>
|
#include <mach/pxa-regs.h>
|
||||||
#include <mach/pxa3xx_nand.h>
|
#include <mach/pxa3xx_nand.h>
|
||||||
|
|
||||||
|
|
|
@ -200,6 +200,9 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg,
|
||||||
|
|
||||||
|
|
||||||
#ifdef SMC_USE_PXA_DMA
|
#ifdef SMC_USE_PXA_DMA
|
||||||
|
|
||||||
|
#include <mach/dma.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Define the request and free functions
|
* Define the request and free functions
|
||||||
* These are unfortunately architecture specific as no generic allocation
|
* These are unfortunately architecture specific as no generic allocation
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
* published by the Free Software Foundation.
|
* published by the Free Software Foundation.
|
||||||
*/
|
*/
|
||||||
#include <asm/dma.h>
|
#include <mach/dma.h>
|
||||||
|
|
||||||
struct pxa2xx_runtime_data {
|
struct pxa2xx_runtime_data {
|
||||||
int dma_ch;
|
int dma_ch;
|
||||||
|
|
Loading…
Reference in a new issue