diff options
author | Lee, Chun-Yi <joeyli.kernel@gmail.com> | 2012-10-05 01:54:56 -0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-10-30 06:39:18 -0400 |
commit | 605e70c7aa1b7b0d554baf945630c1d606bbfbc3 (patch) | |
tree | 69982941955577654db2bd42ecd5235230407a7a /include/linux/efi.h | |
parent | 0c542edde3cecc99b180a440ae33dcb7f28642ce (diff) |
efi: add efivars kobject to efi sysfs folder
UEFI variable filesystem need a new mount point, so this patch add
efivars kobject to efi_kobj for create a /sys/firmware/efi/efivars
folder.
Cc: Matthew Garrett <mjg@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'include/linux/efi.h')
-rw-r--r-- | include/linux/efi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index b2af1571592b..337aefbfb003 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
@@ -662,6 +662,7 @@ struct efivars { | |||
662 | spinlock_t lock; | 662 | spinlock_t lock; |
663 | struct list_head list; | 663 | struct list_head list; |
664 | struct kset *kset; | 664 | struct kset *kset; |
665 | struct kobject *kobject; | ||
665 | struct bin_attribute *new_var, *del_var; | 666 | struct bin_attribute *new_var, *del_var; |
666 | const struct efivar_operations *ops; | 667 | const struct efivar_operations *ops; |
667 | struct efivar_entry *walk_entry; | 668 | struct efivar_entry *walk_entry; |