summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-08-22 11:26:25 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-09-15 12:30:43 +0200
commit2defbea39d23badc06c09401429254c24e4729b4 (patch)
treeae1ff4f37463aade5f8b4516a5671abe265c69e2
parentubifs: Do not include crypto/algapi.h (diff)
downloadlinux-2defbea39d23badc06c09401429254c24e4729b4.tar.xz
linux-2defbea39d23badc06c09401429254c24e4729b4.zip
Bluetooth: Do not include crypto/algapi.h
The header file crypto/algapi.h is for internal use only. Use the header file crypto/utils.h instead. Acked-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--net/bluetooth/smp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c
index f1a9fc0012f0..5f2f97de295e 100644
--- a/net/bluetooth/smp.c
+++ b/net/bluetooth/smp.c
@@ -22,11 +22,10 @@
#include <linux/debugfs.h>
#include <linux/scatterlist.h>
-#include <linux/crypto.h>
#include <crypto/aes.h>
-#include <crypto/algapi.h>
#include <crypto/hash.h>
#include <crypto/kpp.h>
+#include <crypto/utils.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>