diff options
| author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2014-04-09 19:30:06 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2014-05-05 09:28:05 -0400 |
| commit | 2e33def0339c78d33312a4e1d6d85978920c3669 (patch) | |
| tree | 5f38dbf2edd1b305fa953dffc2a03f9a52b79ddb | |
| parent | ecf1dbac78a41c6a5b948f1a50960cde1ec362d1 (diff) | |
dma-buf: update exp_name when using dma_buf_export()
commit c0b00a5 ("dma-buf: update debugfs output") modified the
default exporter name to be the KBUILD_MODNAME pre-processor
macro instead of __FILE__ but the documentation was not updated.
Also the "Supporting existing mmap interfaces in exporters" section
title seems wrong since talks about the interface used by importers.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
| -rw-r--r-- | Documentation/dma-buf-sharing.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/dma-buf-sharing.txt b/Documentation/dma-buf-sharing.txt index 505e71172ae7..7d61ceff956e 100644 --- a/Documentation/dma-buf-sharing.txt +++ b/Documentation/dma-buf-sharing.txt | |||
| @@ -66,7 +66,7 @@ The dma_buf buffer sharing API usage contains the following steps: | |||
| 66 | 66 | ||
| 67 | Exporting modules which do not wish to provide any specific name may use the | 67 | Exporting modules which do not wish to provide any specific name may use the |
| 68 | helper define 'dma_buf_export()', with the same arguments as above, but | 68 | helper define 'dma_buf_export()', with the same arguments as above, but |
| 69 | without the last argument; a __FILE__ pre-processor directive will be | 69 | without the last argument; a KBUILD_MODNAME pre-processor directive will be |
| 70 | inserted in place of 'exp_name' instead. | 70 | inserted in place of 'exp_name' instead. |
| 71 | 71 | ||
| 72 | 2. Userspace gets a handle to pass around to potential buffer-users | 72 | 2. Userspace gets a handle to pass around to potential buffer-users |
| @@ -352,7 +352,7 @@ Being able to mmap an export dma-buf buffer object has 2 main use-cases: | |||
| 352 | 352 | ||
| 353 | No special interfaces, userspace simply calls mmap on the dma-buf fd. | 353 | No special interfaces, userspace simply calls mmap on the dma-buf fd. |
| 354 | 354 | ||
| 355 | 2. Supporting existing mmap interfaces in exporters | 355 | 2. Supporting existing mmap interfaces in importers |
| 356 | 356 | ||
| 357 | Similar to the motivation for kernel cpu access it is again important that | 357 | Similar to the motivation for kernel cpu access it is again important that |
| 358 | the userspace code of a given importing subsystem can use the same interfaces | 358 | the userspace code of a given importing subsystem can use the same interfaces |
