OSDN Git Service

dma-mapping: move the dma_declare_coherent_memory documentation
authorChristoph Hellwig <hch@lst.de>
Tue, 18 Aug 2020 17:32:42 +0000 (19:32 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 07:17:42 +0000 (09:17 +0200)
commita92df4f62fda02e6b141e2b0bb52ccc486264b1c
treebfc7af763aed9dd518f90639593ae91a5712aace
parent545d29272f38ba4791cca2a5a86fe6766f462f18
dma-mapping: move the dma_declare_coherent_memory documentation

dma_declare_coherent_memory should not be in a DMA API guide aimed
at driver writers (that is consumers of the API).  Move it to a comment
near the function instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Documentation/core-api/dma-api.rst
kernel/dma/coherent.c