diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 7316312935c88..06b2b3fa5206e 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -739,7 +739,7 @@ source "drivers/crypto/stm32/Kconfig" config CRYPTO_DEV_SAFEXCEL tristate "Inside Secure's SafeXcel cryptographic engine driver" - depends on OF || PCI || COMPILE_TEST + depends on (OF || PCI || COMPILE_TEST) && HAS_IOMEM select CRYPTO_LIB_AES select CRYPTO_AUTHENC select CRYPTO_BLKCIPHER