summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/efi-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware/efi/efi-init.c')
-rw-r--r--drivers/firmware/efi/efi-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/efi-init.c b/drivers/firmware/efi/efi-init.c
index 1639159493e3..2c16080e1f71 100644
--- a/drivers/firmware/efi/efi-init.c
+++ b/drivers/firmware/efi/efi-init.c
@@ -92,7 +92,7 @@ static int __init uefi_init(u64 efi_system_table)
if (IS_ENABLED(CONFIG_64BIT))
set_bit(EFI_64BIT, &efi.flags);
- retval = efi_systab_check_header(&systab->hdr, 2);
+ retval = efi_systab_check_header(&systab->hdr);
if (retval)
goto out;