Files
u-boot/common
Masahiro Yamada 5f4e32d058 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>
2018-07-25 08:47:52 +09:00
..
2018-06-19 07:31:45 -04:00
2018-06-13 07:49:13 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2018-06-18 13:55:13 -04:00
2018-06-05 20:19:08 -04:00
2017-08-16 08:30:24 -04:00