]> git.baikalelectronics.ru Git - kernel.git/commit
nios2: Replace fdt_translate_address with of_flat_dt_translate_address
authorGuenter Roeck <linux@roeck-us.net>
Tue, 29 Mar 2016 09:02:13 +0000 (17:02 +0800)
committerLey Foon Tan <lftan@altera.com>
Thu, 31 Mar 2016 00:15:45 +0000 (08:15 +0800)
commit30cae1fcf844b37dc954578d8560fd310295ce73
tree2d13b100c85be4fae7c6c3930b974e1410f050f6
parent3039f62d3fccb077513a4ffae4d1ef4609c1b724
nios2: Replace fdt_translate_address with of_flat_dt_translate_address

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 4f4cd3bf8bfc ("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.

Fixes: 4f4cd3bf8bfc ("of: earlycon: Move address translation to of_setup_earlycon()")
Cc: Peter Hurley <peter@hurleysoftware.com>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/kernel/prom.c