Merge "libhardware: boot_control: Clarify documentation for isSlotBootable()."
am: f73b52393c
* commit 'f73b52393ca097292cb89c5c1052c36e98acbc03':
libhardware: boot_control: Clarify documentation for isSlotBootable().
This commit is contained in:
commit
8d7bfc600d
1 changed files with 5 additions and 4 deletions
|
@ -101,10 +101,11 @@ typedef struct boot_control_module {
|
|||
int (*setSlotAsUnbootable)(struct boot_control_module *module, unsigned slot);
|
||||
|
||||
/*
|
||||
* (*isSlotBootable)() returns if the slot passed in parameter has
|
||||
* booted successfully in the past.
|
||||
* Returns 1 if the slot has booted successfully, 0 if it has not,
|
||||
* and -errno on error.
|
||||
* (*isSlotBootable)() returns if the slot passed in parameter is
|
||||
* bootable. Note that slots can be made unbootable by both the
|
||||
* bootloader and by the OS using setSlotAsUnbootable.
|
||||
* Returns 1 if the slot is bootable, 0 if it's not, and -errno on
|
||||
* error.
|
||||
*/
|
||||
int (*isSlotBootable)(struct boot_control_module *module, unsigned slot);
|
||||
|
||||
|
|
Loading…
Reference in a new issue