diff mbox series

crypto: keembay-ocs-hcu - Add dependency on HAS_IOMEM and ARCH_KEEMBAY

Message ID 20210106152733.572024-1-daniele.alessandrelli@linux.intel.com
State New
Headers show
Series crypto: keembay-ocs-hcu - Add dependency on HAS_IOMEM and ARCH_KEEMBAY | expand

Commit Message

Daniele Alessandrelli Jan. 6, 2021, 3:27 p.m. UTC
From: Daniele Alessandrelli <daniele.alessandrelli@intel.com>

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>
---
 drivers/crypto/keembay/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Herbert Xu Jan. 14, 2021, 6:47 a.m. UTC | #1
On Wed, Jan 06, 2021 at 03:27:33PM +0000, Daniele Alessandrelli wrote:
> From: Daniele Alessandrelli <daniele.alessandrelli@intel.com>

> 

> 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>

> ---

>  drivers/crypto/keembay/Kconfig | 2 ++

>  1 file changed, 2 insertions(+)


Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
diff mbox series

Patch

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