summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-06-17 11:27:21 -0400
committerTom Rini <trini@konsulko.com>2019-06-17 11:27:21 -0400
commitc3e8aa1a9ed5f6db7345b23a2f8f136e987ebd4d (patch)
treeebe52eaaed86f99d7f5ce1d6705f355454db54cc /include
parent77f6e2dd0551d8a825bab391a1bd6b838874bcd4 (diff)
parent220f655176de8e6aa4aaea91bb2182260d26c4a4 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-usb
- Assorted gadget fixes
Diffstat (limited to 'include')
-rw-r--r--include/fb_mmc.h3
-rw-r--r--include/fb_nand.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/fb_mmc.h b/include/fb_mmc.h
index fd5db9eac8..95db001bee 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);
/**
diff --git a/include/fb_nand.h b/include/fb_nand.h
index 08ab0e28a6..6d7999f262 100644
--- a/include/fb_nand.h
+++ b/include/fb_nand.h
@@ -16,8 +16,8 @@
* @part_info: Pointer to returned part_info pointer
* @response: Pointer to fastboot response buffer
*/
-int fastboot_nand_get_part_info(char *part_name, struct part_info **part_info,
- char *response);
+int fastboot_nand_get_part_info(const char *part_name,
+ struct part_info **part_info, char *response);
/**
* fastboot_nand_flash_write() - Write image to NAND for fastboot