Skip to content

Commit

Permalink
crypto: ccp - Fix RT breaking #include <linux/rwlock_types.h>
Browse files Browse the repository at this point in the history
Direct include of rwlock_types.h breaks RT, use spinlock_types.h instead.

Fixes: 553d237 crypto: ccp - Support for multiple CCPs
Signed-off-by: Mike Galbraith <umgwanakikbuti@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Mike Galbraith authored and Herbert Xu committed Apr 15, 2016
1 parent 6eae29e commit 7587c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/ccp/ccp-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 7587c40

Please sign in to comment.