summaryrefslogtreecommitdiff
path: root/lib/crypt
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-12-21 11:51:58 -0500
committerTom Rini <[email protected]>2023-12-21 11:51:58 -0500
commitae797e022e6de408497a5ffaa329751893762b9b (patch)
treec8b6c0f66052e329cc57451c9e0fe2d24bc3407d /lib/crypt
parent36d3db6c2c060ee85176156dc9a607e8cd5465f4 (diff)
parent467382ca03758e4f3f13107e3a83669e93a7461e (diff)
Merge branch '2023-12-21-header-inclusion-cleanup' into next
- Merge in changes to clean up various places that used <common.h> or <linux/kconfig.h>
Diffstat (limited to 'lib/crypt')
-rw-r--r--lib/crypt/crypt-port.h3
-rw-r--r--lib/crypt/crypt.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/crypt/crypt-port.h b/lib/crypt/crypt-port.h
index 6b9542d75bc..50dde68b5cd 100644
--- a/lib/crypt/crypt-port.h
+++ b/lib/crypt/crypt-port.h
@@ -1,6 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0+ */
/* Copyright (C) 2020 Steffen Jaeckel <[email protected]> */
+#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/string.h>
#include <linux/types.h>
#include <vsprintf.h>
diff --git a/lib/crypt/crypt.c b/lib/crypt/crypt.c
index 247c34b2a9c..8f5fadb582e 100644
--- a/lib/crypt/crypt.c
+++ b/lib/crypt/crypt.c
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0+
/* Copyright (C) 2020 Steffen Jaeckel <[email protected]> */
-#include <common.h>
#include <crypt.h>
#include "crypt-port.h"