aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crypto_engine.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-08-19 21:58:20 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2020-08-20 14:04:28 +1000
commit0c3dc787a62aef3ca7aedf3797ec42fff9b0a913 (patch)
treeb6f889a67f1b8f2faa6ae1ca2d8dccfe80722b6d /crypto/crypto_engine.c
parentcrypto: algapi - Move crypto_yield into internal.h (diff)
downloadlinux-dev-0c3dc787a62aef3ca7aedf3797ec42fff9b0a913.tar.xz
linux-dev-0c3dc787a62aef3ca7aedf3797ec42fff9b0a913.zip
crypto: algapi - Remove skbuff.h inclusion
The header file algapi.h includes skbuff.h unnecessarily since all we need is a forward declaration for struct sk_buff. This patch removes that inclusion. Unfortunately skbuff.h pulls in a lot of things and drivers over the years have come to rely on it so this patch adds a lot of missing inclusions that result from this. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_engine.c')
-rw-r--r--crypto/crypto_engine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/crypto_engine.c b/crypto/crypto_engine.c
index 198a8eb1cd56..d2ec3ff9bc1e 100644
--- a/crypto/crypto_engine.c
+++ b/crypto/crypto_engine.c
@@ -9,6 +9,7 @@
#include <linux/err.h>
#include <linux/delay.h>
+#include <linux/device.h>
#include <crypto/engine.h>
#include <uapi/linux/sched/types.h>
#include "internal.h"