efi: Export efi_query_variable_store() for efivars.ko
authorSergey Vlasov <vsu@altlinux.ru>
Tue, 16 Apr 2013 14:31:09 +0000 (18:31 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 23:02:10 +0000 (16:02 -0700)
commit 3668011d4ad556224f7c012c1e870a6eaa0e59da upstream.

Fixes build with CONFIG_EFI_VARS=m which was broken after the commit
"x86, efivars: firmware bug workarounds should be in platform code".

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Rui Xiang <rui.xiang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/platform/efi/efi.c

index bdc3ea4e89fab3a33ffa76ea31670fd9e4103e72..15d0328bed1af8d42d69973cfda1727f67e46315 100644 (file)
@@ -990,3 +990,4 @@ efi_status_t efi_query_variable_store(u32 attributes, unsigned long size)
 
        return EFI_SUCCESS;
 }
+EXPORT_SYMBOL_GPL(efi_query_variable_store);