Commit 081794564e3000e602de290d1121792c33b475a4

Authored by Sumit Semwal
Committed by Dave Airlie
1 parent d099230cc3

dma-buf: Documentation update for Kconfig select

As per Linus' comment, dma-buf Kconfig entry shouldn't have an option
text, but should be selected by the subsystems that use it.

Add this information in the documentation as well.

Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

Documentation/dma-buf-sharing.txt
... ... @@ -219,6 +219,10 @@
219 219 If the exporter chooses not to allow an attach() operation once a
220 220 map_dma_buf() API has been called, it simply returns an error.
221 221  
  222 +Miscellaneous notes:
  223 +- Any exporters or users of the dma-buf buffer sharing framework must have
  224 + a 'select DMA_SHARED_BUFFER' in their respective Kconfigs.
  225 +
222 226 References:
223 227 [1] struct dma_buf_ops in include/linux/dma-buf.h
224 228 [2] All interfaces mentioned above defined in include/linux/dma-buf.h