From: Herbert Xu Date: Fri, 8 Nov 2019 10:26:30 +0000 (+0800) Subject: crypto: api - Add softdep on cryptomgr X-Git-Tag: v5.10.7~3503^2~103 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ab23d547f652979bafd710d9e34983aaceea517;p=platform%2Fkernel%2Flinux-rpi.git crypto: api - Add softdep on cryptomgr The crypto API requires cryptomgr to be present for probing to work so we need a softdep to ensure that cryptomgr is added to the initramfs. This was usually not a problem because until very recently it was not practical to build crypto API as module but with the recent work to eliminate direct AES users this is now possible. Signed-off-by: Herbert Xu --- diff --git a/crypto/api.c b/crypto/api.c index 3e1f9e9..55bca28 100644 --- a/crypto/api.c +++ b/crypto/api.c @@ -608,3 +608,4 @@ EXPORT_SYMBOL_GPL(crypto_req_done); MODULE_DESCRIPTION("Cryptographic core API"); MODULE_LICENSE("GPL"); +MODULE_SOFTDEP("pre: cryptomgr");