aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMasahisa Kojima <[email protected]>2023-11-07 14:40:52 +0900
committerArd Biesheuvel <[email protected]>2023-12-11 11:19:18 +0100
commit6bb3703aa52c9b5bb9716cbeae7350247b675209 (patch)
tree71dd2e1cf128b3ce4d19aedb9040846a38a81c61 /include/linux
parentcdb46a8aefbf7fd36772bb206aaaf7e45d7cf8f6 (diff)
efi: expose efivar generic ops register function
This is a preparation for supporting efivar operations provided by other than efi subsystem. Both register and unregister functions are exposed so that non-efi subsystem can revert the efi generic operation. Acked-by: Sumit Garg <[email protected]> Co-developed-by: Ilias Apalodimas <[email protected]> Signed-off-by: Ilias Apalodimas <[email protected]> Signed-off-by: Masahisa Kojima <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/efi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h
index 9cc5bf32f6f2..1b2f50efb98c 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1348,4 +1348,7 @@ bool efi_config_table_is_usable(const efi_guid_t *guid, unsigned long table)
umode_t efi_attr_is_visible(struct kobject *kobj, struct attribute *attr, int n);
+void efivars_generic_ops_register(void);
+void efivars_generic_ops_unregister(void);
+
#endif /* _LINUX_EFI_H */