diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-15 08:52:31 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-06-17 09:29:37 +0200 |
commit | 26749b3201ab05e288fbf78fbc8585dfa2da3218 (patch) | |
tree | 0ee919f458e03ab2a76ad269c30a149a9db8ac04 /kernel/dma | |
parent | 1fbf57d0530217b9f264eedc4867bf91479cdf3c (diff) |
dma-direct: mark __dma_direct_alloc_pages static
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma')
-rw-r--r-- | kernel/dma/direct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/direct.c b/kernel/dma/direct.c index 9ec6a5c3fc57..30c41b57acd9 100644 --- a/kernel/dma/direct.c +++ b/kernel/dma/direct.c @@ -109,7 +109,7 @@ static inline bool dma_should_free_from_pool(struct device *dev, return false; } -struct page *__dma_direct_alloc_pages(struct device *dev, size_t size, +static struct page *__dma_direct_alloc_pages(struct device *dev, size_t size, gfp_t gfp, unsigned long attrs) { size_t alloc_size = PAGE_ALIGN(size); |