efi: add efivars kobject to efi sysfs folder
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Fri, 5 Oct 2012 05:54:56 +0000 (13:54 +0800)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 30 Oct 2012 10:39:18 +0000 (10:39 +0000)
commit605e70c7aa1b7b0d554baf945630c1d606bbfbc3
tree69982941955577654db2bd42ecd5235230407a7a
parent0c542edde3cecc99b180a440ae33dcb7f28642ce
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>
drivers/firmware/efivars.c
include/linux/efi.h