diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-03-03 15:29:00 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-04-04 11:00:06 +0200 |
commit | 14ad49d100a0ba4abafedf8ca6459b699c9d0fa1 (patch) | |
tree | 73689f4da8a111f68b7a84e67520ab5439ed42cb /lib/efi_loader | |
parent | 22c793e6a26505fdf80cb5b099142dd6f8f0fff9 (diff) |
efi_loader: efi_get_time_init should return status code
All EFI initialization functions should return a status code.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader')
-rw-r--r-- | lib/efi_loader/efi_runtime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_runtime.c b/lib/efi_loader/efi_runtime.c index 85f85711dd..c59d161c8f 100644 --- a/lib/efi_loader/efi_runtime.c +++ b/lib/efi_loader/efi_runtime.c @@ -147,8 +147,9 @@ efi_status_t __weak __efi_runtime EFIAPI efi_get_time( return EFI_DEVICE_ERROR; } -void __weak efi_get_time_init(void) +efi_status_t __weak efi_get_time_init(void) { + return EFI_SUCCESS; } struct efi_runtime_detach_list_struct { |