crypto: picoxcell - add dependency on HAVE_CLK
authorJamie Iles <jamie@jamieiles.com>
Thu, 20 Oct 2011 12:10:26 +0000 (14:10 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 Oct 2011 12:10:26 +0000 (14:10 +0200)
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.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig

index e0b25de1e339249773287c13d8f457d1f9e94352..4ac6d4d2bd1481670db565891056d0db0889466f 100644 (file)
@@ -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