crypto: ccp - Fix RT breaking #include <linux/rwlock_types.h>
authorMike Galbraith <umgwanakikbuti@gmail.com>
Tue, 5 Apr 2016 13:03:21 +0000 (15:03 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2016 14:35:44 +0000 (22:35 +0800)
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>
drivers/crypto/ccp/ccp-dev.c

index 4dbc187..87b9f2b 100644 (file)
@@ -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>