Skip to content

Commit e205a99

Browse files
jim2101024tsbogend
authored andcommitted
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>
1 parent 84aa851 commit e205a99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/mips/bmips/dma.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0+
22

33
#include <linux/types.h>
4+
#include <linux/dma-map-ops.h>
45
#include <asm/bmips.h>
56
#include <asm/io.h>
67

0 commit comments

Comments
 (0)