Skip to content

Commit 04662ba

Browse files
rddunlaprafaeljw
authored andcommitted
ACPI: require CRC32 to build
ACPI core now requires crc32() but the kernel build can fail when CRC32 is not set/enabled, so select it in the ACPI Kconfig entry. Fixes this build error: ia64-linux-ld: drivers/acpi/scan.o: in function `acpi_store_pld_crc': include/acpi/platform/aclinuxex.h:62: undefined reference to `crc32_le' Fixes: 882c982 ("acpi: Store CRC-32 hash of the _PLD in struct acpi_device") Signed-off-by: Randy Dunlap <[email protected]> Reported-by: Guenter Roeck <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Tested-by: Guenter Roeck <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 26291c5 commit 04662ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/acpi/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ menuconfig ACPI
1111
depends on ARCH_SUPPORTS_ACPI
1212
select PNP
1313
select NLS
14+
select CRC32
1415
default y if X86
1516
help
1617
Advanced Configuration and Power Interface (ACPI) support for

0 commit comments

Comments
 (0)