diff options
author | Tom Rini <trini@konsulko.com> | 2023-12-14 13:16:58 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-21 08:54:37 -0500 |
commit | 467382ca03758e4f3f13107e3a83669e93a7461e (patch) | |
tree | c8b6c0f66052e329cc57451c9e0fe2d24bc3407d /lib/crypt | |
parent | 1e8ce11a0b94bb2fcf55590eeffa9c85886b89bc (diff) | |
download | u-boot-467382ca03758e4f3f13107e3a83669e93a7461e.tar.gz u-boot-467382ca03758e4f3f13107e3a83669e93a7461e.tar.bz2 u-boot-467382ca03758e4f3f13107e3a83669e93a7461e.zip |
lib: Remove <common.h> inclusion from these files
After some header file cleanups to add missing include files, remove
common.h from all files in the lib directory. This primarily means just
dropping the line but in a few cases we need to add in other header
files now.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib/crypt')
-rw-r--r-- | lib/crypt/crypt-port.h | 3 | ||||
-rw-r--r-- | lib/crypt/crypt.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/crypt/crypt-port.h b/lib/crypt/crypt-port.h index 6b9542d75b..50dde68b5c 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 <jaeckel-floss@eyet-services.de> */ +#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 247c34b2a9..8f5fadb582 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 <jaeckel-floss@eyet-services.de> */ -#include <common.h> #include <crypt.h> #include "crypt-port.h" |