summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2017-10-26 19:25:50 +0200
committerAlexander Graf <agraf@suse.de>2017-12-01 13:22:56 +0100
commit085d07cd3b8c9a12d5a02c13b56ab92436c062ba (patch)
tree937a4e800054886c4caf3cbd7838fcb494248e00 /include/efi_loader.h
parent2edab5e2e685a384261e6dd32676924feb33dfa8 (diff)
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>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index f42dceaf51..a5aae1b87e 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -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) (