diff options
author | Greentime Hu <greentime@andestech.com> | 2018-03-01 03:55:54 +0100 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-03-16 08:45:21 +0100 |
commit | c601a89115cbc3ccd51468295d28cfae47cc5410 (patch) | |
tree | 2355abcb70cc01b17a68024117c33b4b311799c1 /arch/nds32 | |
parent | nds32: fix building failed if using older version gcc. (diff) | |
download | linux-c601a89115cbc3ccd51468295d28cfae47cc5410.tar.xz linux-c601a89115cbc3ccd51468295d28cfae47cc5410.zip |
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: Greentime Hu <greentime@andestech.com>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/nds32')
0 files changed, 0 insertions, 0 deletions