Skip to content

Commit d8e7843

Browse files
krzkgregkh
authored andcommitted
nfc: s3fwrn5: Add missing CRYPTO_HASH dependency
[ Upstream commit 4aa62c6 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 96d06ba commit d8e7843

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/nfc/s3fwrn5/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
config NFC_S3FWRN5
33
tristate
44
select CRYPTO
5+
select CRYPTO_HASH
56
help
67
Core driver for Samsung S3FWRN5 NFC chip. Contains core utilities
78
of chip. It's intended to be used by PHYs to avoid duplicating lots

0 commit comments

Comments
 (0)