瀏覽代碼

libcrc32c: Select CRYPTO in Kconfig

Selecting CRYPTO_CRC32C is not enough as CRYPTO which CRYPTO_CRC32C
depends on may be disabled.  This patch adds the select on CRYPTO.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Herbert Xu 16 年之前
父節點
當前提交
93027354d6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/Kconfig

+ 1 - 0
lib/Kconfig

@@ -64,6 +64,7 @@ config CRC7
 
 
 config LIBCRC32C
 config LIBCRC32C
 	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
 	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
+	select CRYPTO
 	select CRYPTO_CRC32C
 	select CRYPTO_CRC32C
 	help
 	help
 	  This option is provided for the case where no in-kernel-tree
 	  This option is provided for the case where no in-kernel-tree