summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-04-20 13:28:54 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-04-20 13:31:38 +0200
commit7a6659a59198acb5e9be050f42dbb1060efe7434 (patch)
tree4057bc4fa8b2a896db83964c4febce5c6b8741c1
parent19c968222934835058e9ed3d515de744d8275213 (diff)
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>
-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>