提交 c6ce9c58 编写于 作者: H Herbert Xu

crypto: api - Move cryptomgr soft dependency into algapi

The soft dependency on cryptomgr is only needed in algapi because
if algapi isn't present then no algorithms can be loaded.  This
also fixes the case where api is built-in but algapi is built as
a module as the soft dependency would otherwise get lost.

Fixes: 8ab23d54 ("crypto: api - Add softdep on cryptomgr")
Reported-by: NJan Beulich <jbeulich@suse.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
Tested-by: NJan Beulich <jbeulich@suse.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 47307c31
...@@ -1324,3 +1324,4 @@ module_exit(crypto_algapi_exit); ...@@ -1324,3 +1324,4 @@ module_exit(crypto_algapi_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Cryptographic algorithms API"); MODULE_DESCRIPTION("Cryptographic algorithms API");
MODULE_SOFTDEP("pre: cryptomgr");
...@@ -643,4 +643,3 @@ EXPORT_SYMBOL_GPL(crypto_req_done); ...@@ -643,4 +643,3 @@ EXPORT_SYMBOL_GPL(crypto_req_done);
MODULE_DESCRIPTION("Cryptographic core API"); MODULE_DESCRIPTION("Cryptographic core API");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_SOFTDEP("pre: cryptomgr");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册