2011-09-30 22:26:51

by Jamie Iles

[permalink] [raw]
Subject: [PATCH] crypto: picoxcell: add dependency on HAVE_CLK

The picoxcell crypto driver requires the clk API, but the platform in
mainline does not currently support it. Add an explicit dependency on
HAVE_CLK to avoid build breakage.

Cc: Herbert Xu <[email protected]>
Signed-off-by: Jamie Iles <[email protected]>
---
drivers/crypto/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index e0b25de..4ac6d4d 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -266,7 +266,7 @@ config CRYPTO_DEV_OMAP_AES

config CRYPTO_DEV_PICOXCELL
tristate "Support for picoXcell IPSEC and Layer2 crypto engines"
- depends on ARCH_PICOXCELL
+ depends on ARCH_PICOXCELL && HAVE_CLK
select CRYPTO_AES
select CRYPTO_AUTHENC
select CRYPTO_ALGAPI
--
1.7.4.1


2011-10-20 12:10:51

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: picoxcell: add dependency on HAVE_CLK

On Fri, Sep 30, 2011 at 11:26:41PM +0100, Jamie Iles wrote:
> The picoxcell crypto driver requires the clk API, but the platform in
> mainline does not currently support it. Add an explicit dependency on
> HAVE_CLK to avoid build breakage.
>
> Cc: Herbert Xu <[email protected]>
> Signed-off-by: Jamie Iles <[email protected]>

Patch applied. Thanks!
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt