aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLuden <luden@ghostmail.com>2016-03-23 17:31:12 +0100
committerZiyan <jaraidaniel@gmail.com>2016-05-01 23:35:44 +0200
commita62e05e883fbbb201f6f89453849452c32d79429 (patch)
treec6242b2cb259a776eda379c23fb72477d3260508 /include
parent8feeacad19e37641f244beaa7f65da88fcf2758f (diff)
downloadkernel_samsung_tuna-a62e05e883fbbb201f6f89453849452c32d79429.zip
kernel_samsung_tuna-a62e05e883fbbb201f6f89453849452c32d79429.tar.gz
kernel_samsung_tuna-a62e05e883fbbb201f6f89453849452c32d79429.tar.bz2
drivers: cma: add support for allocating pages from a fixed address
Diffstat (limited to 'include')
-rw-r--r--include/linux/dma-contiguous.h2
1 files changed, 2 insertions, 0 deletions
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);