part: remove build warnings in sprd partition
[profile/mobile/platform/kernel/u-boot-tm1.git] / disk / part.c
index f2de286..0750522 100644 (file)
@@ -408,6 +408,11 @@ int get_partition_info_with_partnum (block_dev_desc_t *dev_desc, int part
 
 int get_all_partition_info (block_dev_desc_t *dev_desc, PARTITION_CFG *info, unsigned int *total_partition_num)
 {
+#ifdef CONFIG_EFI_PARTITION
+       extern int get_all_partition_info_efi(block_dev_desc_t * dev_desc,
+                       PARTITION_CFG * info,
+                       unsigned int *total_partition_num);
+#endif
        switch(dev_desc->part_type){
 #ifdef CONFIG_EFI_PARTITION
        case PART_TYPE_EFI: