diff options
author | Alan Cox <alan@linux.intel.com> | 2012-02-14 02:37:20 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-14 02:42:02 +0400 |
commit | ebb3bf50183f41327341da6f1e82b1fe1c058c12 (patch) | |
tree | 7a8b061d768f584c39429f575ad7ca3200628f4f /drivers/staging/sep/sep_crypto.c | |
parent | 89ae7d709357df3a60e81c57613859d91d093ace (diff) | |
download | linux-ebb3bf50183f41327341da6f1e82b1fe1c058c12.tar.xz |
staging: Fix SEP build
SEP build fails if crypto is not selected.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sep/sep_crypto.c')
-rw-r--r-- | drivers/staging/sep/sep_crypto.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/sep/sep_crypto.c b/drivers/staging/sep/sep_crypto.c index 89b6814c70af..1cc790e9fa07 100644 --- a/drivers/staging/sep/sep_crypto.c +++ b/drivers/staging/sep/sep_crypto.c @@ -74,6 +74,8 @@ #include "sep_dev.h" #include "sep_crypto.h" +#if defined(CONFIG_CRYPTO) || defined(CONFIG_CRYPTO_MODULE) + /* Globals for queuing */ static spinlock_t queue_lock; static struct crypto_queue sep_queue; @@ -4052,3 +4054,5 @@ void sep_crypto_takedown(void) tasklet_kill(&sep_dev->finish_tasklet); } + +#endif |