Re: [PATCH] nios2: add ioremap_nocache declaration before include asm-generic/io.h.
From: Tobias Klauser
Date: Fri Mar 02 2018 - 03:50:59 EST
On 2018-03-01 at 17:39:43 +0100, Greentime Hu <green.hu@xxxxxxxxx> wrote:
> 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@xxxxxxxxxxxxx>
Reviewed-by: Tobias Klauser <tklauser@xxxxxxxxxx>
Thanks