fastboot: Use const qualifier for char *part_name
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 13 Jun 2019 18:11:07 +0000 (21:11 +0300)
committerMarek Vasut <marex@denx.de>
Fri, 14 Jun 2019 10:39:54 +0000 (12:39 +0200)
commitcacb03e490bdf46897f57582c2b31a4783e79aa0
treebc88d034e62551db2483837c76d9e6414e4399d9
parent97a0c6ff577d57f162abc696c4efc962981229b1
fastboot: Use const qualifier for char *part_name

In fastboot_*_get_part_info() functions we can use stronger typing by
expecting const strings.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
drivers/fastboot/fb_mmc.c
drivers/fastboot/fb_nand.c
include/fb_mmc.h
include/fb_nand.h