VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Christoph Hellwig <hch@lst.de> 2019-11-07 18:03:11 +0100 committer: Christoph Hellwig <hch@lst.de> 2019-11-20 20:31:38 +0100 commit: 56e35f9c5b87ec1ae93e483284e189c84388de16 parent: e380a0394c36a3a878c858418d5dd7f5f195b6fc
Commit Summary:
dma-mapping: drop the dev argument to arch_sync_dma_for_*
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c
index bf9df2625bc8..58fd67068bac 100644
--- a/arch/ia64/mm/init.c
+++ b/arch/ia64/mm/init.c
@@ -73,8 +73,8 @@ __ia64_sync_icache_dcache (pte_t pte)
  * DMA can be marked as "clean" so that lazy_mmu_prot_update() doesn't have to
  * flush them when they get mapped into an executable vm-area.
  */
-void arch_sync_dma_for_cpu(struct device *dev, phys_addr_t paddr,
-		size_t size, enum dma_data_direction dir)
+void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size,
+		enum dma_data_direction dir)
 {
 	unsigned long pfn = PHYS_PFN(paddr);