aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Quinlan <[email protected]>2022-05-23 08:16:39 -0400
committerThomas Bogendoerfer <[email protected]>2022-05-23 18:28:03 +0200
commite205a9945cf9dbcec79d8271caba355916ea0943 (patch)
tree095a0ba1a50a8bc304d221465879aa1e2589bab8
parent84aa85108b1b8af0d1d310e76975f421c5975e66 (diff)
MIPS: bmips: Fix compiler warning observed on W=1 build
The function arch_sync_dma_for_cpu_all() was used but was missing a prototype declaration. Signed-off-by: Jim Quinlan <[email protected]> Reported-by: kernel test robot <[email protected]> Acked-by: Florian Fainelli <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
-rw-r--r--arch/mips/bmips/dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/bmips/dma.c b/arch/mips/bmips/dma.c
index c535f9cb75ec..33788668cbdb 100644
--- a/arch/mips/bmips/dma.c
+++ b/arch/mips/bmips/dma.c
@@ -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>