Commit 7a6659a5 authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer

MIPS: alchemy: Fix build error after ioremap cleanup

IOremap changes caused following build error:

arch/mips/alchemy/common/setup.c:99:9: error: implicit declaration of function
+‘remap_pfn_range’; did you mean ‘io_remap_pfn_range’?
+[-Werror=implicit-function-declaration]

Fixed my including linux/mm.h

Fixes: d3991572 ("MIPS: cleanup fixup_bigphys_addr handling")
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 19c96822
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/mm.h>
#include <asm/dma-coherence.h> #include <asm/dma-coherence.h>
#include <asm/mipsregs.h> #include <asm/mipsregs.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment