diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-11 11:04:43 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-10-06 07:07:05 +0200 |
commit | 5db5d93089880c3cc9e83ca8bba68a5502e92dfe (patch) | |
tree | 07065191328222e06d0c826c772ba2477220e7e4 /include/linux/dma-map-ops.h | |
parent | 0b1abd1fb7efafc25231c54a67c6fbb3d3127efd (diff) | |
download | linux-5db5d93089880c3cc9e83ca8bba68a5502e92dfe.tar.gz linux-5db5d93089880c3cc9e83ca8bba68a5502e92dfe.tar.bz2 linux-5db5d93089880c3cc9e83ca8bba68a5502e92dfe.zip |
dma-mapping: remove <asm/dma-contiguous.h>
Just provide a weak default definition of dma_contiguous_early_fixup and
let arm override it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/dma-map-ops.h')
-rw-r--r-- | include/linux/dma-map-ops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dma-map-ops.h b/include/linux/dma-map-ops.h index 474fc81bd492..7912f5d00ed9 100644 --- a/include/linux/dma-map-ops.h +++ b/include/linux/dma-map-ops.h @@ -116,6 +116,8 @@ bool dma_release_from_contiguous(struct device *dev, struct page *pages, int count); struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp); void dma_free_contiguous(struct device *dev, struct page *page, size_t size); + +void dma_contiguous_early_fixup(phys_addr_t base, unsigned long size); #else /* CONFIG_DMA_CMA */ static inline struct cma *dev_get_cma_area(struct device *dev) { |