From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Sat, 10 Jun 2006 08:06:34 +0000 (+1000)
Subject: [CRYPTO] tcrypt: Forbid tcrypt from being built-in
X-Git-Tag: firefly_0821_release~34980^2
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b9d0a25a484a90c1d60b974d115eff2fe580ce16;p=firefly-linux-kernel-4.4.55.git

[CRYPTO] tcrypt: Forbid tcrypt from being built-in

It makes no sense to build tcrypt into the kernel.  In fact, now that
the driver init function's return status is being checked, it is in
fact harmful to do so.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
---

diff --git a/crypto/Kconfig b/crypto/Kconfig
index c442f2e7ce46..ba133d557045 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -337,7 +337,7 @@ config CRYPTO_CRC32C
 
 config CRYPTO_TEST
 	tristate "Testing module"
-	depends on CRYPTO
+	depends on CRYPTO && m
 	help
 	  Quick & dirty crypto test module.