]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 22:22:16 +0000 (15:22 -0700)
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>
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