summaryrefslogtreecommitdiff
path: root/include/linux/dma-direct.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-15 08:52:31 +0200
committerChristoph Hellwig <hch@lst.de>2020-06-17 09:29:37 +0200
commit26749b3201ab05e288fbf78fbc8585dfa2da3218 (patch)
tree0ee919f458e03ab2a76ad269c30a149a9db8ac04 /include/linux/dma-direct.h
parent1fbf57d0530217b9f264eedc4867bf91479cdf3c (diff)
downloadlwn-26749b3201ab05e288fbf78fbc8585dfa2da3218.tar.gz
lwn-26749b3201ab05e288fbf78fbc8585dfa2da3218.zip
dma-direct: mark __dma_direct_alloc_pages static
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/dma-direct.h')
-rw-r--r--include/linux/dma-direct.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/dma-direct.h b/include/linux/dma-direct.h
index 136f984df0d9..cdfa400f89b3 100644
--- a/include/linux/dma-direct.h
+++ b/include/linux/dma-direct.h
@@ -77,8 +77,6 @@ void *dma_direct_alloc_pages(struct device *dev, size_t size,
dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs);
void dma_direct_free_pages(struct device *dev, size_t size, void *cpu_addr,
dma_addr_t dma_addr, unsigned long attrs);
-struct page *__dma_direct_alloc_pages(struct device *dev, size_t size,
- gfp_t gfp, unsigned long attrs);
int dma_direct_get_sgtable(struct device *dev, struct sg_table *sgt,
void *cpu_addr, dma_addr_t dma_addr, size_t size,
unsigned long attrs);