Skip to content
Commit c601a891 authored by Greentime Hu's avatar Greentime Hu
Browse files

nios2: add ioremap_nocache declaration before include asm-generic/io.h.



A commit for the nds32 architecture bootstrap("asm-generic/io.h:
move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef
CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef.
This means that in order to suppress re-definition errors we need to
setup #define's before importing asm-generic/io.h.

Signed-off-by: default avatarGreentime Hu <greentime@andestech.com>
Reviewed-by: default avatarTobias Klauser <tklauser@distanz.ch>
parent d78a62fb
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