diff options
author | Daniele Alessandrelli <daniele.alessandrelli@intel.com> | 2021-01-06 16:27:33 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-14 07:43:10 +0100 |
commit | e2811196fbe0d8d21ad5c06488a5e896ceeb97fd (patch) | |
tree | 10cc82f4318ad1e4b47d01a9188e2403eefd32a6 /drivers/crypto | |
parent | crypto: keembay-ocs-hcu - Fix a WARN() message (diff) | |
download | linux-e2811196fbe0d8d21ad5c06488a5e896ceeb97fd.tar.xz linux-e2811196fbe0d8d21ad5c06488a5e896ceeb97fd.zip |
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 <daniele.alessandrelli@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/keembay/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/keembay/Kconfig b/drivers/crypto/keembay/Kconfig index e45f1b039380..00cf8f028cb9 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 |