mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
0b1abd1fb7
commit
5db5d93089
6 changed files with 7 additions and 28 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue