]> git.baikalelectronics.ru Git - kernel.git/commit
efi: gsmi: fix false dependency on CONFIG_EFI_VARS
authorArd Biesheuvel <ardb@kernel.org>
Wed, 23 Sep 2020 08:18:31 +0000 (10:18 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 29 Sep 2020 17:40:57 +0000 (19:40 +0200)
commitd0e38dfdbea057f817df717fab4cdb1a06ca7e70
tree0ed94b9fa48f8c587889a01c9cd9c1cc4d207c53
parent5aefb37554581c712cbebb0da809d54f11aff244
efi: gsmi: fix false dependency on CONFIG_EFI_VARS

The gsmi code does not actually rely on CONFIG_EFI_VARS, since it only
uses the efivars abstraction that is included unconditionally when
CONFIG_EFI is defined. CONFIG_EFI_VARS controls the inclusion of the
code that exposes the sysfs entries, and which has been deprecated for
some time.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/google/Kconfig
drivers/firmware/google/gsmi.c