1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-26 16:13:55 +01:00

efi_loader: argument of efi_search_obj should be const

The argument of efi_search_obj is not changed so it should
be marked as const.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
Heinrich Schuchardt
2017-10-26 19:25:50 +02:00
committed by Alexander Graf
parent 2edab5e2e6
commit 085d07cd3b
2 changed files with 2 additions and 2 deletions

View File

@@ -690,7 +690,7 @@ static efi_status_t EFIAPI efi_check_event(struct efi_event *event)
* @handle handle to find
* @return EFI object
*/
struct efi_object *efi_search_obj(void *handle)
struct efi_object *efi_search_obj(const void *handle)
{
struct efi_object *efiobj;