diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-04-20 13:28:54 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-04-20 13:31:38 +0200 |
commit | 7a6659a59198acb5e9be050f42dbb1060efe7434 (patch) | |
tree | 4057bc4fa8b2a896db83964c4febce5c6b8741c1 /arch/mips/alchemy/common | |
parent | MIPS: DTS: CI20: make DM9000 Ethernet controller use NVMEM to find the defaul... (diff) | |
download | linux-7a6659a59198acb5e9be050f42dbb1060efe7434.tar.xz linux-7a6659a59198acb5e9be050f42dbb1060efe7434.zip |
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.c | 1 |
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> |