xtensa: add ioremap_nocache declaration before include asm-generic/io.h.
authorGreentime Hu <greentime@andestech.com>
Wed, 21 Feb 2018 06:21:23 +0000 (14:21 +0800)
committerGreentime Hu <greentime@andestech.com>
Thu, 22 Feb 2018 02:44:30 +0000 (10:44 +0800)
commit94bc61ead46c3d9943bd35a4536e61d4ea9f1e66
tree11f1424f508f10e271433560c08bacb0f0093f45
parentb934e8eb483354bbadf1eee0a54e9487f50d6c5b
xtensa: add ioremap_nocache declaration before include asm-generic/io.h.

A future 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>
arch/xtensa/include/asm/io.h