diff options
author | Dmitry Rokosov <ddrokosov@salutedevices.com> | 2024-12-20 00:42:09 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-14 15:41:56 -0600 |
commit | c39257c131f9110aae6c080f962870ae64043880 (patch) | |
tree | a119148036924c2f69cb500478c34151a41f868a /drivers/fpga/sandbox.c | |
parent | 453625a861c496194c920eeeaead20f9be6c9ba3 (diff) |
fdt_support: board_fdt_chosen_bootargs() should return const char*
It should be structured this way to demonstrate to the caller that
freeing the return value is unnecessary and that the caller cannot
modify it.
The function fdt_setprop() includes a parameter with a const char*
prototype, so it is better to use the const qualifier.
Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'drivers/fpga/sandbox.c')
0 files changed, 0 insertions, 0 deletions