diff options
author | Jim Quinlan <jim2101024@gmail.com> | 2022-05-23 08:16:39 -0400 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2022-05-23 18:28:03 +0200 |
commit | e205a9945cf9dbcec79d8271caba355916ea0943 (patch) | |
tree | 095a0ba1a50a8bc304d221465879aa1e2589bab8 | |
parent | 84aa85108b1b8af0d1d310e76975f421c5975e66 (diff) | |
download | linux-e205a9945cf9dbcec79d8271caba355916ea0943.tar.gz linux-e205a9945cf9dbcec79d8271caba355916ea0943.tar.bz2 linux-e205a9945cf9dbcec79d8271caba355916ea0943.zip |
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 <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>
-rw-r--r-- | arch/mips/bmips/dma.c | 1 |
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> |