diff options
author | Simon Glass | 2020-02-03 07:35:55 -0700 |
---|---|---|
committer | Simon Glass | 2020-02-05 19:33:46 -0700 |
commit | aae95882232a24ee49c89d0356febf3685a87c8a (patch) | |
tree | 15c15bc6d248b54a8f7bc2b38941203e766b5db1 /include | |
parent | fb8c0d595f1ad83bee5dd398b59b0ee16d8d15a9 (diff) |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dma-uclass.h b/include/dma-uclass.h index a1d9d26ac56..340437acc13 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. * |