aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DMA-API.txt
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-25 17:27:14 +0100
committerChristoph Hellwig <hch@lst.de>2019-02-20 07:27:00 -0700
commit91a6fda95cb67c94b887355690d1923a7eb6f630 (patch)
tree050d62146fb8da60eeeebbefc8a7e19f1de25e11 /Documentation/DMA-API.txt
parentdma-mapping: move CONFIG_DMA_CMA to kernel/dma/Kconfig (diff)
downloadlinux-dev-91a6fda95cb67c94b887355690d1923a7eb6f630.tar.xz
linux-dev-91a6fda95cb67c94b887355690d1923a7eb6f630.zip
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.txt17
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
-------------------------------------------