Commit 19cd3403 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jens Axboe

lightnvm: select CONFIG_CRC32

Without CRC32 support, this fails to link:

arm-linux-gnueabi-ld: drivers/lightnvm/pblk-init.o: in function `pblk_init':
pblk-init.c:(.text+0x2654): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/lightnvm/pblk-init.o: in function `pblk_exit':
pblk-init.c:(.text+0x2a7c): undefined reference to `crc32_le'

Fixes: a4bd217b ("lightnvm: physical block device (pblk) target")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 36a106a4
...@@ -19,6 +19,7 @@ if NVM ...@@ -19,6 +19,7 @@ if NVM
config NVM_PBLK config NVM_PBLK
tristate "Physical Block Device Open-Channel SSD target" tristate "Physical Block Device Open-Channel SSD target"
select CRC32
help help
Allows an open-channel SSD to be exposed as a block device to the Allows an open-channel SSD to be exposed as a block device to the
host. The target assumes the device exposes raw flash and must be host. The target assumes the device exposes raw flash and must be
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment