crypto: ccp - CCP Kconfig fixes
authorTom Lendacky <thomas.lendacky@amd.com>
Tue, 10 Dec 2013 16:38:39 +0000 (10:38 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Dec 2013 12:06:20 +0000 (20:06 +0800)
Update the Kconfig to include PCI on the 'depends on'
and add 'select HW_RANDOM' to insure the necessary PCI
and HW_RANDOM functions are available/included in the
build.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/ccp/Kconfig

index 4954d75..9dee00f 100644 (file)
@@ -401,7 +401,7 @@ config CRYPTO_DEV_ATMEL_SHA
 
 config CRYPTO_DEV_CCP
        bool "Support for AMD Cryptographic Coprocessor"
-       depends on X86
+       depends on X86 && PCI
        default n
        help
          The AMD Cryptographic Coprocessor provides hardware support
index 335ed5c..7639ffc 100644 (file)
@@ -2,6 +2,7 @@ config CRYPTO_DEV_CCP_DD
        tristate "Cryptographic Coprocessor device driver"
        depends on CRYPTO_DEV_CCP
        default m
+       select HW_RANDOM
        help
          Provides the interface to use the AMD Cryptographic Coprocessor
          which can be used to accelerate or offload encryption operations