summaryrefslogtreecommitdiffstats
path: root/crypto/lrw.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-02-10 03:31:13 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-02-18 06:21:08 +0100
commitf60bbbbe8039e59341055e827bb404c14a2688a0 (patch)
treea60db8c4068c3cd2d942c909df998c518206926b /crypto/lrw.c
parentcrypto: xts - Add softdep on ecb (diff)
downloadlinux-f60bbbbe8039e59341055e827bb404c14a2688a0.tar.xz
linux-f60bbbbe8039e59341055e827bb404c14a2688a0.zip
crypto: lrw - Add dependency on ecb
The lrw template relies on ecb to work. So we need to declare a Kconfig dependency as well as a module softdep on it. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/lrw.c')
-rw-r--r--crypto/lrw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/lrw.c b/crypto/lrw.c
index bcf09fbc750a..8d59a66b6525 100644
--- a/crypto/lrw.c
+++ b/crypto/lrw.c
@@ -428,3 +428,4 @@ module_exit(lrw_module_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("LRW block cipher mode");
MODULE_ALIAS_CRYPTO("lrw");
+MODULE_SOFTDEP("pre: ecb");