aboutsummaryrefslogtreecommitdiff
path: root/include/fb_mmc.h
diff options
context:
space:
mode:
authorSam Protsenko2019-06-13 21:11:07 +0300
committerMarek Vasut2019-06-14 12:39:54 +0200
commitcacb03e490bdf46897f57582c2b31a4783e79aa0 (patch)
treebc88d034e62551db2483837c76d9e6414e4399d9 /include/fb_mmc.h
parent97a0c6ff577d57f162abc696c4efc962981229b1 (diff)
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>
Diffstat (limited to 'include/fb_mmc.h')
-rw-r--r--include/fb_mmc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/fb_mmc.h b/include/fb_mmc.h
index fd5db9eac87..95db001beee 100644
--- a/include/fb_mmc.h
+++ b/include/fb_mmc.h
@@ -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);
/**