diff options
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r-- | include/linux/dmaengine.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 78784982b33e..20ea12c86fd0 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
@@ -31,6 +31,8 @@ | |||
31 | * if dma_cookie_t is >0 it's a DMA request cookie, <0 it's an error code | 31 | * if dma_cookie_t is >0 it's a DMA request cookie, <0 it's an error code |
32 | */ | 32 | */ |
33 | typedef s32 dma_cookie_t; | 33 | typedef s32 dma_cookie_t; |
34 | #define DMA_MIN_COOKIE 1 | ||
35 | #define DMA_MAX_COOKIE INT_MAX | ||
34 | 36 | ||
35 | #define dma_submit_error(cookie) ((cookie) < 0 ? 1 : 0) | 37 | #define dma_submit_error(cookie) ((cookie) < 0 ? 1 : 0) |
36 | 38 | ||
@@ -162,7 +164,7 @@ struct dma_chan { | |||
162 | struct dma_chan_dev *dev; | 164 | struct dma_chan_dev *dev; |
163 | 165 | ||
164 | struct list_head device_node; | 166 | struct list_head device_node; |
165 | struct dma_chan_percpu *local; | 167 | struct dma_chan_percpu __percpu *local; |
166 | int client_count; | 168 | int client_count; |
167 | int table_count; | 169 | int table_count; |
168 | void *private; | 170 | void *private; |