summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-03 17:35:55 +0300
committerSimon Glass <sjg@chromium.org>2020-02-06 05:33:46 +0300
commitaae95882232a24ee49c89d0356febf3685a87c8a (patch)
tree15c15bc6d248b54a8f7bc2b38941203e766b5db1 /include
parentfb8c0d595f1ad83bee5dd398b59b0ee16d8d15a9 (diff)
downloadu-boot-aae95882232a24ee49c89d0356febf3685a87c8a.tar.xz
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>
Diffstat (limited to 'include')
-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 a1d9d26ac5..340437acc1 100644
--- a/include/dma-uclass.h
+++ b/include/dma-uclass.h
@@ -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.
*