From a62e05e883fbbb201f6f89453849452c32d79429 Mon Sep 17 00:00:00 2001 From: Luden Date: Wed, 23 Mar 2016 17:31:12 +0100 Subject: drivers: cma: add support for allocating pages from a fixed address --- include/linux/dma-contiguous.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/dma-contiguous.h b/include/linux/dma-contiguous.h index 2f303e4..e84d32d 100644 --- a/include/linux/dma-contiguous.h +++ b/include/linux/dma-contiguous.h @@ -73,6 +73,8 @@ int dma_declare_contiguous(struct device *dev, unsigned long size, struct page *dma_alloc_from_contiguous(struct device *dev, int count, unsigned int order); +struct page *dma_alloc_from_contiguous_fixed_addr(struct device *dev, + phys_addr_t addr, int count); bool dma_release_from_contiguous(struct device *dev, struct page *pages, int count); -- cgit v1.1