projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'io_uring-5.11-2020-12-23' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git]
/
Documentation
/
driver-api
/
dmaengine
/
client.rst
diff --git
a/Documentation/driver-api/dmaengine/client.rst
b/Documentation/driver-api/dmaengine/client.rst
index
09a3f66
..
bfd057b
100644
(file)
--- a/
Documentation/driver-api/dmaengine/client.rst
+++ b/
Documentation/driver-api/dmaengine/client.rst
@@
-120,7
+120,9
@@
The details of these operations are:
.. code-block:: c
- nr_sg = dma_map_sg(chan->device->dev, sgl, sg_len);
+ struct device *dma_dev = dmaengine_get_dma_device(chan);
+
+ nr_sg = dma_map_sg(dma_dev, sgl, sg_len);
if (nr_sg == 0)
/* error */