diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/efi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 8ff6ec1ac046..2fc816682714 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
@@ -742,7 +742,6 @@ utf16_strlen(efi_char16_t *s) | |||
742 | return utf16_strnlen(s, ~0UL); | 742 | return utf16_strnlen(s, ~0UL); |
743 | } | 743 | } |
744 | 744 | ||
745 | #if defined(CONFIG_EFI_VARS) || defined(CONFIG_EFI_VARS_MODULE) | ||
746 | /* | 745 | /* |
747 | * Return the number of bytes is the length of this string | 746 | * Return the number of bytes is the length of this string |
748 | * Note: this is NOT the same as the number of unicode characters | 747 | * Note: this is NOT the same as the number of unicode characters |
@@ -872,8 +871,10 @@ struct efivar_entry *efivar_entry_find(efi_char16_t *name, efi_guid_t guid, | |||
872 | 871 | ||
873 | bool efivar_validate(struct efi_variable *var, u8 *data, unsigned long len); | 872 | bool efivar_validate(struct efi_variable *var, u8 *data, unsigned long len); |
874 | 873 | ||
874 | extern struct work_struct efivar_work; | ||
875 | void efivar_run_worker(void); | 875 | void efivar_run_worker(void); |
876 | 876 | ||
877 | #if defined(CONFIG_EFI_VARS) || defined(CONFIG_EFI_VARS_MODULE) | ||
877 | int efivars_sysfs_init(void); | 878 | int efivars_sysfs_init(void); |
878 | 879 | ||
879 | #endif /* CONFIG_EFI_VARS */ | 880 | #endif /* CONFIG_EFI_VARS */ |