summaryrefslogtreecommitdiff
path: root/board/isee
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-07-19 10:28:22 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-07-25 02:47:52 +0300
commit5f4e32d058755a93a9cc43ea9998195a3ef13aa2 (patch)
tree09d5bf449b0aab36fac2235621a0ebda632c4433 /board/isee
parent4a610fada193057c97c1b23016ef119f98459b22 (diff)
downloadu-boot-5f4e32d058755a93a9cc43ea9998195a3ef13aa2.tar.xz
fdt_support: make fdt_fixup_mtdparts() prototype more specific
The second argument of fdt_fixup_mtdparts() is an opaque pointer, 'void *node_info', hence callers can pass any pointer. Obviously, fdt_fixup_mtdparts() expects 'struct node_info *' otherwise, it crashes run-time. Change the prototype so that it is compile-time checked. Also, add 'const' qualifier to it so that callers can constify the struct node_info arrays. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/isee')
0 files changed, 0 insertions, 0 deletions