diff options
author | Christoph Hellwig <hch@lst.de> | 2019-10-29 09:57:32 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-11-07 17:25:57 +0100 |
commit | 4e1003aa56a7d60ddb048e43a7a51368fcfe36af (patch) | |
tree | b206b4e7b2d1c5fa9acd49c09d5fdba965d2c461 /include/linux/dma-direct.h | |
parent | acaade1af3587132e7ea585f470a95261e14f60c (diff) |
dma-direct: remove the dma_handle argument to __dma_direct_alloc_pages
The argument isn't used anywhere, so stop passing it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'include/linux/dma-direct.h')
-rw-r--r-- | include/linux/dma-direct.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dma-direct.h b/include/linux/dma-direct.h index dec3b3bb121d..ff3d5edc44b9 100644 --- a/include/linux/dma-direct.h +++ b/include/linux/dma-direct.h @@ -67,6 +67,6 @@ void *dma_direct_alloc_pages(struct device *dev, size_t size, 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, - dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs); + gfp_t gfp, unsigned long attrs); int dma_direct_supported(struct device *dev, u64 mask); #endif /* _LINUX_DMA_DIRECT_H */ |