summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorMike Galbraith <umgwanakikbuti@gmail.com>2016-04-05 15:03:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-15 16:35:44 +0200
commit7587c407540006e4e8fd5ed33f66ffe6158e830a (patch)
treeb0ca353e9229237e943f800e0426fdb55e6ccf2a /drivers/crypto
parentcrypto: doc - document correct return value for request allocation (diff)
downloadlinux-7587c407540006e4e8fd5ed33f66ffe6158e830a.tar.xz
linux-7587c407540006e4e8fd5ed33f66ffe6158e830a.zip
crypto: ccp - Fix RT breaking #include <linux/rwlock_types.h>
Direct include of rwlock_types.h breaks RT, use spinlock_types.h instead. Fixes: 553d2374db0b crypto: ccp - Support for multiple CCPs Signed-off-by: Mike Galbraith <umgwanakikbuti@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/ccp/ccp-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.c b/drivers/crypto/ccp/ccp-dev.c
index 4dbc18727235..87b9f2bfa623 100644
--- a/drivers/crypto/ccp/ccp-dev.c
+++ b/drivers/crypto/ccp/ccp-dev.c
@@ -16,7 +16,7 @@
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
-#include <linux/rwlock_types.h>
+#include <linux/spinlock_types.h>
#include <linux/types.h>
#include <linux/mutex.h>
#include <linux/delay.h>