diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2021-10-11 18:14:43 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-10-18 12:05:47 +0300 |
commit | f6fb34390cd047543ff00b34b8ad910bf76c8eb3 (patch) | |
tree | 8895a451911a3dc3d3427caf6210759a9a673889 /drivers/misc | |
parent | db1a8dd916aac986871f6b873a3aefad906f383a (diff) | |
download | linux-f6fb34390cd047543ff00b34b8ad910bf76c8eb3.tar.xz |
habanalabs: select CRC32
Fix the following build/link error by adding a dependency on the CRC32
routines:
ld: drivers/misc/habanalabs/common/firmware_if.o: in function `hl_fw_dynamic_request_descriptor':
firmware_if.c:(.text.unlikely+0xc89): undefined reference to `crc32_le'
Fixes: 8a43c83fec12 ("habanalabs: load boot fit to device")
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/habanalabs/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/Kconfig b/drivers/misc/habanalabs/Kconfig index c82d2e7b2035..861c81006c6d 100644 --- a/drivers/misc/habanalabs/Kconfig +++ b/drivers/misc/habanalabs/Kconfig @@ -9,6 +9,7 @@ config HABANA_AI select GENERIC_ALLOCATOR select HWMON select DMA_SHARED_BUFFER + select CRC32 help Enables PCIe card driver for Habana's AI Processors (AIP) that are designed to accelerate Deep Learning inference and training workloads. |