mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00: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:
parent
2edab5e2e6
commit
085d07cd3b
2 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@ void efi_set_bootdev(const char *dev, const char *devnr, const char *path);
|
|||
/* Create handle */
|
||||
efi_status_t efi_create_handle(void **handle);
|
||||
/* Call this to validate a handle and find the EFI object for it */
|
||||
struct efi_object *efi_search_obj(void *handle);
|
||||
struct efi_object *efi_search_obj(const void *handle);
|
||||
/* Call this to create an event */
|
||||
efi_status_t efi_create_event(uint32_t type, efi_uintn_t notify_tpl,
|
||||
void (EFIAPI *notify_function) (
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue