Re: [PATCH] nios2: Replace fdt_translate_address with of_flat_dt_translate_address

From: Ley Foon Tan
Date: Fri Mar 18 2016 - 02:14:07 EST


On Thu, 2016-03-17 at 20:22 -0700, Peter Hurley wrote:
> Hi Guenter,
>
> On 03/17/2016 07:49 PM, Guenter Roeck wrote:
> > nios2 builds fail with the following build error.
> >
> > arch/nios2/kernel/prom.c: In function 'early_init_dt_scan_serial':
> > arch/nios2/kernel/prom.c:100:2: error:
> > implicit declaration of function 'fdt_translate_address'
> >
> > Commit c90fe9c0394b ("of: earlycon: Move address translation to
> > of_setup_earlycon()") replaced fdt_translate_address() with
> > of_flat_dt_translate_address() but missed updating the nios2 code.
>
> My bad.
> The sad part is I even noted this other user of fdt_translate_address()
> in a review of a different patch, and then overlooked it in my own patch. :/
>
> Reviewed-by: Peter Hurley <peter@xxxxxxxxxxxxxxxxxx>
>
Hi Peter,

Will you take this patch or you want me to take this?
Thanks.

Regards
Ley Foon