summaryrefslogtreecommitdiff
path: root/fs/efivarfs/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/efivarfs/internal.h')
-rw-r--r--fs/efivarfs/internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/efivarfs/internal.h b/fs/efivarfs/internal.h
index 1f84844fe032..ac6a1dd0a6a5 100644
--- a/fs/efivarfs/internal.h
+++ b/fs/efivarfs/internal.h
@@ -17,6 +17,7 @@ struct efivarfs_fs_info {
struct efivarfs_mount_opts mount_opts;
struct super_block *sb;
struct notifier_block nb;
+ struct notifier_block pm_nb;
};
struct efi_variable {
@@ -37,7 +38,7 @@ static inline struct efivar_entry *efivar_entry(struct inode *inode)
}
int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *),
- void *data);
+ void *data, bool duplicate_check);
int efivar_entry_delete(struct efivar_entry *entry);