dm: core: fix devfdt_remap_addr_index()
authorCédric Le Goater <clg@kaod.org>
Tue, 14 Aug 2018 10:48:11 +0000 (12:48 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 18 Sep 2018 14:12:21 +0000 (08:12 -0600)
commit427ddd84204cc0693e3f80f90f257b3d24b04307
tree7f8bdf7c380f5e4c518b7b488c5e16875c7bb2f0
parent1712ca21924bff678f19fd3141f435408d23bdbf
dm: core: fix devfdt_remap_addr_index()

commit 30a90f56c3a2 ("dm: core: add functions to get memory-mapped I/O
addresses") introduced a devfdt_remap_addr_index() routine but it does
not make use of the index parameter.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
drivers/core/fdtaddr.c