MIPS: bmips: Fix compiler warning observed on W=1 build
authorJim Quinlan <jim2101024@gmail.com>
Mon, 23 May 2022 12:16:39 +0000 (08:16 -0400)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 23 May 2022 16:28:03 +0000 (18:28 +0200)
The function arch_sync_dma_for_cpu_all() was used but was
missing a prototype declaration.

Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/bmips/dma.c

index c535f9cb75ec86572e7e34c42b3bad50d33b318e..33788668cbdbfc3ab12862e5f3b8874b15af1ea7 100644 (file)
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0+
 
 #include <linux/types.h>
+#include <linux/dma-map-ops.h>
 #include <asm/bmips.h>
 #include <asm/io.h>