diff options
author | Christoph Hellwig <hch@lst.de> | 2017-06-12 19:15:04 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-28 06:55:00 -0700 |
commit | 63d36c95500400642f656ba1970980746cf437f3 (patch) | |
tree | c56eab12893908e8c8c0d6d7fb12d69c6b89407e /Documentation/driver-model/devres.txt | |
parent | 03b643866d889d6edc87cdcee2b3880b7879a441 (diff) | |
download | op-kernel-dev-63d36c95500400642f656ba1970980746cf437f3.zip op-kernel-dev-63d36c95500400642f656ba1970980746cf437f3.tar.gz |
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/devres.txt')
-rw-r--r-- | Documentation/driver-model/devres.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 9070ff0..7e08c02 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() |