fdt_support: fdt_translate_address() blob const correctness
authorStephen Warren <swarren@nvidia.com>
Fri, 5 Aug 2016 15:47:50 +0000 (09:47 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Aug 2016 15:20:27 +0000 (09:20 -0600)
commit11e44fc6bda2248271d26a8488f5efe189b55a30
treef11d29a8c0d9c9aca18bd7ddf73e0d6d7717623c
parent28cd88baa3f11cdb52be3b6d0610dcf32c60871a
fdt_support: fdt_translate_address() blob const correctness

The next patch will call fdt_translate_address() from somewhere with a
"const void *blob" rather than a "void *blob", so fdt_translate_address()
must accept a const pointer too. Constify the minimum number of function
parameters to achieve this.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Squashed in build fix from Stephen:
Signed-off-by: Simon Glass <sjg@chromium.org>
common/fdt_support.c
include/fdt_support.h