]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: require CRC32 to build
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 30 Jan 2022 22:38:18 +0000 (14:38 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 31 Jan 2022 19:16:28 +0000 (20:16 +0100)
commit5074c3a7cb4f45c06b9f587cb3dfc88dc9dca5f6
treeeb8a7ef445a4db8721a09e172e348b9adba23a04
parent2c38746ca2402e938b028d171c771f4caa588787
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: 6b0529e9eafa ("acpi: Store CRC-32 hash of the _PLD in struct acpi_device")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig