diff options
| author | Vinod Koul <vinod.koul@intel.com> | 2013-10-30 08:52:30 -0400 |
|---|---|---|
| committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-30 08:57:56 -0400 |
| commit | db60d8da8f643586c95f8fc3e383954f8c57f1f3 (patch) | |
| tree | be686ebbfd8b0f9a2a87ae7b10ed1207afb64254 /include/linux/platform_data | |
| parent | 7db5f7274a0b065abdc358be2a44b4a911d75707 (diff) | |
dmanengine: fix edma driver to not define DMA_COMPLETE
edma header defines DMA_COMPLETE, this causes issues as commit adfedd9a32e4 move
DMA_SUCCESS to DMA_COMPLETE. edma should properly namespace its defines and
needs a future fix
Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/edma.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/platform_data/edma.h b/include/linux/platform_data/edma.h index 179fb91bb5f2..f50821cb64be 100644 --- a/include/linux/platform_data/edma.h +++ b/include/linux/platform_data/edma.h | |||
| @@ -67,10 +67,10 @@ struct edmacc_param { | |||
| 67 | #define ITCCHEN BIT(23) | 67 | #define ITCCHEN BIT(23) |
| 68 | 68 | ||
| 69 | /*ch_status paramater of callback function possible values*/ | 69 | /*ch_status paramater of callback function possible values*/ |
| 70 | #define DMA_COMPLETE 1 | 70 | #define EDMA_DMA_COMPLETE 1 |
| 71 | #define DMA_CC_ERROR 2 | 71 | #define EDMA_DMA_CC_ERROR 2 |
| 72 | #define DMA_TC1_ERROR 3 | 72 | #define EDMA_DMA_TC1_ERROR 3 |
| 73 | #define DMA_TC2_ERROR 4 | 73 | #define EDMA_DMA_TC2_ERROR 4 |
| 74 | 74 | ||
| 75 | enum address_mode { | 75 | enum address_mode { |
| 76 | INCR = 0, | 76 | INCR = 0, |
