From 963fabf37f6a94214a823df0a785e653cb8ad6ea Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Wed, 23 Sep 2020 10:20:10 +0200 Subject: efi: efivars: limit availability to X86 builds CONFIG_EFI_VARS controls the code that exposes EFI variables via sysfs entries, which was deprecated before support for non-Intel architectures was added to EFI. So let's limit its availability to Intel architectures for the time being, and hopefully remove it entirely in the not too distant future. While at it, let's remove the module alias so that the module is no longer loaded automatically. Signed-off-by: Ard Biesheuvel --- drivers/firmware/efi/efivars.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/firmware/efi/efivars.c') diff --git a/drivers/firmware/efi/efivars.c b/drivers/firmware/efi/efivars.c index a76f50e15e6d..e6b16b3a17a8 100644 --- a/drivers/firmware/efi/efivars.c +++ b/drivers/firmware/efi/efivars.c @@ -22,7 +22,6 @@ MODULE_AUTHOR("Matt Domsch "); MODULE_DESCRIPTION("sysfs interface to EFI Variables"); MODULE_LICENSE("GPL"); MODULE_VERSION(EFIVARS_VERSION); -MODULE_ALIAS("platform:efivars"); static LIST_HEAD(efivar_sysfs_list); -- cgit v1.2.3