aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scripts/mod/modpost.c5
-rw-r--r--scripts/mod/modpost.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index f9cbb6b6b7a5..689a34229809 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -270,6 +270,11 @@ static struct symbol *find_symbol(const char *name)
return NULL;
}
+struct namespace_list {
+ struct namespace_list *next;
+ char namespace[];
+};
+
static bool contains_namespace(struct namespace_list *list,
const char *namespace)
{
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h
index 0a940fd2e5c7..7aed57fe793e 100644
--- a/scripts/mod/modpost.h
+++ b/scripts/mod/modpost.h
@@ -109,11 +109,6 @@ buf_printf(struct buffer *buf, const char *fmt, ...);
void
buf_write(struct buffer *buf, const char *s, int len);
-struct namespace_list {
- struct namespace_list *next;
- char namespace[];
-};
-
struct module {
struct module *next;
int gpl_compatible;