diff options
author | Christoph Hellwig <hch@lst.de> | 2019-11-07 20:03:11 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-11-20 22:31:38 +0300 |
commit | 56e35f9c5b87ec1ae93e483284e189c84388de16 (patch) | |
tree | f6148d613483272cd7491c77a736259d15c95400 /arch/m68k/kernel | |
parent | e380a0394c36a3a878c858418d5dd7f5f195b6fc (diff) | |
download | linux-56e35f9c5b87ec1ae93e483284e189c84388de16.tar.xz |
dma-mapping: drop the dev argument to arch_sync_dma_for_*
These are pure cache maintainance routines, so drop the unused
struct device argument.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r-- | arch/m68k/kernel/dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/kernel/dma.c b/arch/m68k/kernel/dma.c index 3fab684cc0db..871a0e11da34 100644 --- a/arch/m68k/kernel/dma.c +++ b/arch/m68k/kernel/dma.c @@ -61,8 +61,8 @@ void arch_dma_free(struct device *dev, size_t size, void *vaddr, #endif /* CONFIG_MMU && !CONFIG_COLDFIRE */ -void arch_sync_dma_for_device(struct device *dev, phys_addr_t handle, - size_t size, enum dma_data_direction dir) +void arch_sync_dma_for_device(phys_addr_t handle, size_t size, + enum dma_data_direction dir) { switch (dir) { case DMA_BIDIRECTIONAL: |