crypto: keembay-ocs-hcu - Add dependency on HAS_IOMEM and ARCH_KEEMBAY
authorDaniele Alessandrelli <daniele.alessandrelli@intel.com>
Wed, 6 Jan 2021 15:27:33 +0000 (15:27 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 14 Jan 2021 06:43:10 +0000 (17:43 +1100)
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 <daniele.alessandrelli@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/keembay/Kconfig

index e45f1b0..00cf8f0 100644 (file)
@@ -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