From: Daniele Alessandrelli Date: Wed, 6 Jan 2021 15:27:33 +0000 (+0000) Subject: crypto: keembay-ocs-hcu - Add dependency on HAS_IOMEM and ARCH_KEEMBAY X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e2811196fbe0d8d21ad5c06488a5e896ceeb97fd;p=linux.git crypto: keembay-ocs-hcu - Add dependency on HAS_IOMEM and ARCH_KEEMBAY Add the following additional dependencies for CRYPTO_DEV_KEEMBAY_OCS_HCU: - HAS_IOMEM to prevent build failures - ARCH_KEEMBAY to prevent asking the user about this driver when configuring a kernel without Intel Keem Bay platform support. Signed-off-by: Daniele Alessandrelli Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/keembay/Kconfig b/drivers/crypto/keembay/Kconfig index e45f1b039380f..00cf8f028cb9f 100644 --- a/drivers/crypto/keembay/Kconfig +++ b/drivers/crypto/keembay/Kconfig @@ -43,6 +43,8 @@ config CRYPTO_DEV_KEEMBAY_OCS_HCU tristate "Support for Intel Keem Bay OCS HCU HW acceleration" select CRYPTO_HASH select CRYPTO_ENGINE + depends on HAS_IOMEM + depends on ARCH_KEEMBAY || COMPILE_TEST depends on OF || COMPILE_TEST help Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash