Skip to content

Commit

Permalink
MIPS: bmips: Fix compiler warning observed on W=1 build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jim Quinlan authored and Thomas Bogendoerfer committed May 23, 2022
1 parent 84aa851 commit e205a99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/bmips/dma.c
Original file line number Diff line number Diff line change
@@ -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>

Expand Down

0 comments on commit e205a99

Please sign in to comment.