diff options
| author | Dmitry Rokosov <[email protected]> | 2024-10-17 17:12:06 +0300 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2024-10-24 09:45:55 +0200 |
| commit | 01874ac7c06b8c657e7c3fda5ac555f821ef5b36 (patch) | |
| tree | 8e1e20c6dbc68c736d91f590e1e69a4056516c2d /include | |
| parent | 97c29f868dd4e6d8f38d1cfdd964fb6b2b40267c (diff) | |
include/android_ab: move ab_select_slot() documentation to @ notation
There are new function documentation requirements in U-Boot, so apply
these changes for android_ab.
Reviewed-by: Mattijs Korpershoek <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Guillaume La Roque <[email protected]>
Signed-off-by: Dmitry Rokosov <[email protected]>
Tested-by: Mattijs Korpershoek <[email protected]> # vim3_android
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/android_ab.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/android_ab.h b/include/android_ab.h index dbf20343da6..1e53879a25f 100644 --- a/include/android_ab.h +++ b/include/android_ab.h @@ -18,7 +18,10 @@ struct disk_partition; #define NUM_SLOTS 2 /** - * Select the slot where to boot from. + * ab_select_slot() - Select the slot where to boot from. + * + * @dev_desc: Place to store the device description pointer + * @part_info: Place to store the partition information * * On Android devices with more than one boot slot (multiple copies of the * kernel and system images) selects which slot should be used to boot from and @@ -28,8 +31,6 @@ struct disk_partition; * registered before returning from this function so it isn't selected * indefinitely. * - * @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 */ int ab_select_slot(struct blk_desc *dev_desc, struct disk_partition *part_info, |
