[PATCH] ACPI: Kconfig: Fix table override from built-in initrd

From: Rui Wang
Date: Fri Jul 16 2021 - 23:19:00 EST


The commit 65e00e04e5aea ("initramfs: refactor the initramfs build rules")
had dropped the CONFIG_INITRAMFS_COMPRESSION.

This patch updates INITRAMFS_COMPRESSION="" to INITRAMFS_COMPRESSION_NONE.

CC: Rafael J. Wysocki <rjw@xxxxxxxxxxxxx>
CC: Len Brown <lenb@xxxxxxxxxx>
CC: Shunyong Yang <shunyong.yang@xxxxxxxxxxxxxxxx>
CC: linux-acpi@xxxxxxxxxxxxxxx
CC: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Rui Wang <wangrui@xxxxxxxxxxx>
---
drivers/acpi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 9d872ea477a6..8f9940f40baa 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -370,7 +370,7 @@ config ACPI_TABLE_UPGRADE
config ACPI_TABLE_OVERRIDE_VIA_BUILTIN_INITRD
bool "Override ACPI tables from built-in initrd"
depends on ACPI_TABLE_UPGRADE
- depends on INITRAMFS_SOURCE!="" && INITRAMFS_COMPRESSION=""
+ depends on INITRAMFS_SOURCE!="" && INITRAMFS_COMPRESSION_NONE
help
This option provides functionality to override arbitrary ACPI tables
from built-in uncompressed initrd.
--
2.32.0