diff mbox series

crypto: ccree - Depend on HAS_IOMEM

Message ID ZBKpXuRuEz3IRCZf@gondor.apana.org.au
State Accepted
Commit ed4905030e291c43d7decc57557a829a890959eb
Headers show
Series crypto: ccree - Depend on HAS_IOMEM | expand

Commit Message

Herbert Xu March 16, 2023, 5:30 a.m. UTC
Add dependency on HAS_IOMEM as the build will fail without it.

Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202303161354.T2OZFUFZ-lkp@intel.com/
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
diff mbox series

Patch

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 351d05db39cf..ea0a1036c6e3 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -774,7 +774,7 @@  config CRYPTO_DEV_ARTPEC6
 config CRYPTO_DEV_CCREE
 	tristate "Support for ARM TrustZone CryptoCell family of security processors"
 	depends on CRYPTO && CRYPTO_HW && OF && HAS_DMA
-	default n
+	depends on HAS_IOMEM
 	select CRYPTO_HASH
 	select CRYPTO_SKCIPHER
 	select CRYPTO_LIB_DES