aboutsummaryrefslogtreecommitdiff
path: root/include/dma-uclass.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dma-uclass.h')
-rw-r--r--include/dma-uclass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dma-uclass.h b/include/dma-uclass.h
index 340437acc1..ea721baae6 100644
--- a/include/dma-uclass.h
+++ b/include/dma-uclass.h
@@ -132,8 +132,8 @@ struct dma_ops {
* @len: Length of the data to be copied (number of bytes).
* @return zero on success, or -ve error code.
*/
- int (*transfer)(struct udevice *dev, int direction, void *dst,
- void *src, size_t len);
+ int (*transfer)(struct udevice *dev, int direction, dma_addr_t dst,
+ dma_addr_t src, size_t len);
};
#endif /* _DMA_UCLASS_H */