1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-02 15:37:10 +01:00
Files
u-boot-megous/include
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-07-19 16:31:37 -04:00
2018-07-19 16:17:58 -04:00
2018-06-18 14:43:13 -04:00
2018-02-05 20:58:11 -05:00
2018-06-24 08:56:04 +08:00
2018-06-13 07:49:12 -04:00
2018-04-06 17:04:33 -04:00
2018-07-02 14:14:20 -05:00
2018-05-23 17:30:03 -04:00
2018-06-03 15:27:21 +02:00
2018-05-26 12:46:50 -04:00
2018-05-26 18:19:17 -04:00
2018-07-19 16:31:37 -04:00
2018-07-20 15:55:05 -04:00