As lskcipher requires the ecb wrapper for the transition add an
explicit dependency on it so that it is always present.  This can
be removed once all simple ciphers have been converted to lskcipher.
Reported-by: Nathan Chancellor <nathan@kernel.org>
Fixes: 705b52fef3c7 ("crypto: cbc - Convert from skcipher to lskcipher")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
        tristate
        select CRYPTO_SKCIPHER2
        select CRYPTO_ALGAPI
+       select CRYPTO_ECB
 
 config CRYPTO_SKCIPHER2
        tristate
 
 config CRYPTO_ECB
        tristate "ECB (Electronic Codebook)"
-       select CRYPTO_SKCIPHER
+       select CRYPTO_SKCIPHER2
        select CRYPTO_MANAGER
        help
          ECB (Electronic Codebook) mode (NIST SP800-38A)