]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
nfc: s3fwrn5: Add missing CRYPTO_HASH dependency
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 10 Sep 2020 16:12:16 +0000 (18:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:51:21 +0000 (11:51 +0100)
[ Upstream commit 4aa62c62d4c41d71b2bda5ed01b78961829ee93c ]

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>
drivers/nfc/s3fwrn5/Kconfig

index af9d18690afeb586581066a616316fe790c8b728..3f8b6da5828039d6214200fe83805264e09038ee 100644 (file)
@@ -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