summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/dma-ep93xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/dma-ep93xx.h')
-rw-r--r--include/linux/platform_data/dma-ep93xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/dma-ep93xx.h b/include/linux/platform_data/dma-ep93xx.h
index f8f1f6b952a6..eb9805bb3fe8 100644
--- a/include/linux/platform_data/dma-ep93xx.h
+++ b/include/linux/platform_data/dma-ep93xx.h
@@ -85,7 +85,7 @@ static inline enum dma_transfer_direction
ep93xx_dma_chan_direction(struct dma_chan *chan)
{
if (!ep93xx_dma_chan_is_m2p(chan))
- return DMA_NONE;
+ return DMA_TRANS_NONE;
/* even channels are for TX, odd for RX */
return (chan->chan_id % 2 == 0) ? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM;