aboutsummaryrefslogtreecommitdiff
path: root/scripts/mod/modpost.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-07-20 16:27:38 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-07-21 23:10:43 +0900
commitfbaf242c956aff6a07d9e97eaa3a0a48d947de33 (patch)
tree9c2870d0112b16bde9cba2c2bc189b5b412dd45d /scripts/mod/modpost.c
parent6e6ef2da3a28f3e02fd204b4f8821030b61f8cd4 (diff)
kbuild: move some helper headers from scripts/kconfig/ to scripts/include/
Move array_size.h, hashtable.h, list.h, list_types.h from scripts/kconfig/ to scripts/include/. These headers will be useful for other host programs. Remove scripts/mod/list.h. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r--scripts/mod/modpost.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 3e5313ed6065..9eade18b4388 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -20,6 +20,8 @@
#include <limits.h>
#include <stdbool.h>
#include <errno.h>
+
+#include <list.h>
#include "modpost.h"
#include "../../include/linux/license.h"