nfc: s3fwrn5: Make NFC_S3FWRN5 select CRYPTO
authorAxel Lin <axel.lin@ingics.com>
Tue, 22 Sep 2015 09:48:40 +0000 (17:48 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Oct 2015 23:41:45 +0000 (01:41 +0200)
Make NFC_S3FWRN5 select CRYPTO to fix below build errors:

ERROR: "crypto_destroy_tfm" [drivers/nfc/s3fwrn5/s3fwrn5.ko] undefined!
ERROR: "crypto_alloc_base" [drivers/nfc/s3fwrn5/s3fwrn5.ko] undefined!
scripts/Makefile.modpost:91: recipe for target '__modpost' failed
make[1]: *** [__modpost] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/s3fwrn5/Kconfig

index 7e3b255b3f997e14f0ade72b81ebfff214f54e1a..1eef9199486e556d12f15d3f2c498e7057adc9d1 100644 (file)
@@ -1,5 +1,6 @@
 config NFC_S3FWRN5
        tristate
+       select CRYPTO
        ---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