diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-25 17:27:14 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-02-20 07:27:00 -0700 |
commit | 91a6fda95cb67c94b887355690d1923a7eb6f630 (patch) | |
tree | 050d62146fb8da60eeeebbefc8a7e19f1de25e11 /Documentation/DMA-API.txt | |
parent | ddb26d8e1e97af2385cdcabc51e73bf706a6437c (diff) |
dma-mapping: remove dma_mark_declared_memory_occupied
This API is not used anywhere, so remove it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'Documentation/DMA-API.txt')
-rw-r--r-- | Documentation/DMA-API.txt | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt index 78114ee63057..b9d0cba83877 100644 --- a/Documentation/DMA-API.txt +++ b/Documentation/DMA-API.txt @@ -605,23 +605,6 @@ unconditionally having removed all the required structures. It is the driver's job to ensure that no parts of this memory region are currently in use. -:: - - void * - dma_mark_declared_memory_occupied(struct device *dev, - dma_addr_t device_addr, size_t size) - -This is used to occupy specific regions of the declared space -(dma_alloc_coherent() will hand out the first free region it finds). - -device_addr is the *device* address of the region requested. - -size is the size (and should be a page-sized multiple). - -The return value will be either a pointer to the processor virtual -address of the memory, or an error (via PTR_ERR()) if any part of the -region is occupied. - Part III - Debug drivers use of the DMA-API ------------------------------------------- |