X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fandroid_ab.h;h=3eb61125c661ab640df96ede71a3d10c5de96a24;hb=46b5c8ed017958fc387ab86c71ae6c90abb6793c;hp=810906d22b3b0950cae008d30e98e4fdf624c8da;hpb=df9a7a195bdf0722399199bf373afc8309ae3ad7;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/android_ab.h b/include/android_ab.h index 810906d..3eb6112 100644 --- a/include/android_ab.h +++ b/include/android_ab.h @@ -6,7 +6,8 @@ #ifndef __ANDROID_AB_H #define __ANDROID_AB_H -#include +struct blk_desc; +struct disk_partition; /* Android standard boot slot names are 'a', 'b', 'c', ... */ #define BOOT_SLOT_NAME(slot_num) ('a' + (slot_num)) @@ -27,8 +28,8 @@ * * @param[in] dev_desc Place to store the device description pointer * @param[in] part_info Place to store the partition information - * @return The slot number (>= 0) on success, or a negative on error + * Return: The slot number (>= 0) on success, or a negative on error */ -int ab_select_slot(struct blk_desc *dev_desc, disk_partition_t *part_info); +int ab_select_slot(struct blk_desc *dev_desc, struct disk_partition *part_info); #endif /* __ANDROID_AB_H */