summaryrefslogtreecommitdiff
path: root/arch/mips/alchemy/common
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-04-20 14:28:54 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-04-20 14:31:38 +0300
commit7a6659a59198acb5e9be050f42dbb1060efe7434 (patch)
tree4057bc4fa8b2a896db83964c4febce5c6b8741c1 /arch/mips/alchemy/common
parent19c968222934835058e9ed3d515de744d8275213 (diff)
downloadlinux-7a6659a59198acb5e9be050f42dbb1060efe7434.tar.xz
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: d399157283fb ("MIPS: cleanup fixup_bigphys_addr handling") Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/alchemy/common')
-rw-r--r--arch/mips/alchemy/common/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/alchemy/common/setup.c b/arch/mips/alchemy/common/setup.c
index a8cbc552bd64..0f60efe0481e 100644
--- a/arch/mips/alchemy/common/setup.c
+++ b/arch/mips/alchemy/common/setup.c
@@ -27,6 +27,7 @@
#include <linux/init.h>
#include <linux/ioport.h>
+#include <linux/mm.h>
#include <asm/dma-coherence.h>
#include <asm/mipsregs.h>