spl: fit: constify the output parameter of spl_fit_get_image_name()
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 22 Oct 2019 14:39:17 +0000 (16:39 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jan 2020 16:12:47 +0000 (11:12 -0500)
commitc1648d056ebb92711f6e37bcccb2d4acc78e3836
tree1131707cf1a48be6d21f313649fd1d6c0640c937
parent47818e23a2281bbbf64df5936f67a6f98bbd6563
spl: fit: constify the output parameter of spl_fit_get_image_name()

There is no need for it to be non-constant. Making it constant, allows to
return constant string without warning.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl_fit.c