mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
dma: Rename free() to rfree()
This function name conflicts with our desire to #define free() to something else on sandbox. Since it deals with resources, rename it to rfree(). Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -58,14 +58,14 @@ struct dma_ops {
|
||||
*/
|
||||
int (*request)(struct dma *dma);
|
||||
/**
|
||||
* free - Free a previously requested dma.
|
||||
* rfree - Free a previously requested dma.
|
||||
*
|
||||
* This is the implementation of the client dma_free() API.
|
||||
*
|
||||
* @dma: The DMA to free.
|
||||
* @return 0 if OK, or a negative error code.
|
||||
*/
|
||||
int (*free)(struct dma *dma);
|
||||
int (*rfree)(struct dma *dma);
|
||||
/**
|
||||
* enable() - Enable a DMA Channel.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user