summaryrefslogtreecommitdiff
path: root/arch/mips/bmips
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-11-07 18:03:11 +0100
committerChristoph Hellwig <hch@lst.de>2019-11-20 20:31:38 +0100
commit56e35f9c5b87ec1ae93e483284e189c84388de16 (patch)
treef6148d613483272cd7491c77a736259d15c95400 /arch/mips/bmips
parente380a0394c36a3a878c858418d5dd7f5f195b6fc (diff)
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/mips/bmips')
-rw-r--r--arch/mips/bmips/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/bmips/dma.c b/arch/mips/bmips/dma.c
index 3d13c77c125f..df56bf4179e3 100644
--- a/arch/mips/bmips/dma.c
+++ b/arch/mips/bmips/dma.c
@@ -64,7 +64,7 @@ phys_addr_t __dma_to_phys(struct device *dev, dma_addr_t dma_addr)
return dma_addr;
}
-void arch_sync_dma_for_cpu_all(struct device *dev)
+void arch_sync_dma_for_cpu_all(void)
{
void __iomem *cbr = BMIPS_GET_CBR();
u32 cfg;