summaryrefslogtreecommitdiff
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-06-12 20:15:04 +0300
committerChristoph Hellwig <hch@lst.de>2017-06-28 16:55:00 +0300
commit63d36c95500400642f656ba1970980746cf437f3 (patch)
treec56eab12893908e8c8c0d6d7fb12d69c6b89407e /Documentation/driver-model
parent03b643866d889d6edc87cdcee2b3880b7879a441 (diff)
downloadlinux-63d36c95500400642f656ba1970980746cf437f3.tar.xz
dma-mapping: replace dmam_alloc_noncoherent with dmam_alloc_attrs
dmam_alloc_noncoherent is a trivial wrapper around dmam_alloc_attrs, that hardcodes one particular flag. Make the devres code more flexible by allowing the callers to pass arbitrary flags. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r--Documentation/driver-model/devres.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index 9070ff06b558..7e08c02b5393 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -240,7 +240,7 @@ CLOCK
DMA
dmam_alloc_coherent()
- dmam_alloc_noncoherent()
+ dmam_alloc_attrs()
dmam_declare_coherent_memory()
dmam_free_coherent()
dmam_pool_create()