summaryrefslogtreecommitdiff
path: root/drivers/nfc
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-09-10 18:12:16 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-10 15:22:16 -0700
commit4aa62c62d4c41d71b2bda5ed01b78961829ee93c (patch)
tree7ee61d024e208c819deb61d1fe36a2c0bb4d21bd /drivers/nfc
parente52e4130ffefaab11c7a09ab83de7022400d5d60 (diff)
downloadlinux-rpi-4aa62c62d4c41d71b2bda5ed01b78961829ee93c.tar.gz
linux-rpi-4aa62c62d4c41d71b2bda5ed01b78961829ee93c.tar.bz2
linux-rpi-4aa62c62d4c41d71b2bda5ed01b78961829ee93c.zip
nfc: s3fwrn5: Add missing CRYPTO_HASH dependency
The driver uses crypto hash functions so it needs to select CRYPTO_HASH. This fixes build errors: arc-linux-ld: drivers/nfc/s3fwrn5/firmware.o: in function `s3fwrn5_fw_download': firmware.c:(.text+0x152): undefined reference to `crypto_alloc_shash' Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc')
-rw-r--r--drivers/nfc/s3fwrn5/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nfc/s3fwrn5/Kconfig b/drivers/nfc/s3fwrn5/Kconfig
index af9d18690afe..3f8b6da58280 100644
--- a/drivers/nfc/s3fwrn5/Kconfig
+++ b/drivers/nfc/s3fwrn5/Kconfig
@@ -2,6 +2,7 @@
config NFC_S3FWRN5
tristate
select CRYPTO
+ select CRYPTO_HASH
help
Core driver for Samsung S3FWRN5 NFC chip. Contains core utilities
of chip. It's intended to be used by PHYs to avoid duplicating lots