mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Marek Vasut
parent
97a0c6ff57
commit
cacb03e490
@@ -14,7 +14,8 @@
|
||||
* @part_info: Pointer to returned disk_partition_t
|
||||
* @response: Pointer to fastboot response buffer
|
||||
*/
|
||||
int fastboot_mmc_get_part_info(char *part_name, struct blk_desc **dev_desc,
|
||||
int fastboot_mmc_get_part_info(const char *part_name,
|
||||
struct blk_desc **dev_desc,
|
||||
disk_partition_t *part_info, char *response);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user