diff options
Diffstat (limited to 'include/asm-arm/mach')
-rw-r--r-- | include/asm-arm/mach/dma.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-arm/mach/dma.h b/include/asm-arm/mach/dma.h index 31bf716106ee..e7c4a20aad53 100644 --- a/include/asm-arm/mach/dma.h +++ b/include/asm-arm/mach/dma.h | |||
@@ -25,13 +25,15 @@ struct dma_ops { | |||
25 | }; | 25 | }; |
26 | 26 | ||
27 | struct dma_struct { | 27 | struct dma_struct { |
28 | void *addr; /* single DMA address */ | ||
29 | unsigned long count; /* single DMA size */ | ||
28 | struct scatterlist buf; /* single DMA */ | 30 | struct scatterlist buf; /* single DMA */ |
29 | int sgcount; /* number of DMA SG */ | 31 | int sgcount; /* number of DMA SG */ |
30 | struct scatterlist *sg; /* DMA Scatter-Gather List */ | 32 | struct scatterlist *sg; /* DMA Scatter-Gather List */ |
31 | 33 | ||
32 | unsigned int active:1; /* Transfer active */ | 34 | unsigned int active:1; /* Transfer active */ |
33 | unsigned int invalid:1; /* Address/Count changed */ | 35 | unsigned int invalid:1; /* Address/Count changed */ |
34 | unsigned int using_sg:1; /* using scatter list? */ | 36 | |
35 | dmamode_t dma_mode; /* DMA mode */ | 37 | dmamode_t dma_mode; /* DMA mode */ |
36 | int speed; /* DMA speed */ | 38 | int speed; /* DMA speed */ |
37 | 39 | ||