doc: board: ti: Move documentation from README to .rst
[platform/kernel/u-boot.git] / drivers / fastboot / fb_nand.c
index 526bc12..6d3a900 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <config.h>
 #include <common.h>
+#include <blk.h>
 
 #include <fastboot.h>
 #include <image-sparse.h>
@@ -152,8 +153,8 @@ static lbaint_t fb_nand_sparse_reserve(struct sparse_storage *info,
  * @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)
 {
        struct mtd_info *mtd = NULL;