dma-direct: mark __dma_direct_alloc_pages static

Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Christoph Hellwig
2020-06-15 08:52:31 +02:00
parent 1fbf57d053
commit 26749b3201
2 changed files with 1 additions and 3 deletions

View File

@@ -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);