dma-mapping: remove the dma_declare_coherent_memory export
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Aug 2019 06:48:27 +0000 (08:48 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 4 Sep 2019 09:13:19 +0000 (11:13 +0200)
commitd9295532d5725e5926d76470acdfd239c8d2aad3
tree694bdeee1e2a8f0737cbb4a94c1088b8fa397b73
parent6334150e9a36467e253371c923a23955c831a295
dma-mapping: remove the dma_declare_coherent_memory export

dma_declare_coherent_memory is something that the platform setup code
(which pretty much means the device tree these days) need to do so that
drivers can use the memory as declared by the platform.  Drivers
themselves have no business calling this function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
kernel/dma/coherent.c