aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r--scripts/mod/modpost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 480e18b00aa6..113dc77b9f60 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1343,6 +1343,7 @@ static void add_header(struct buffer *b, struct module *mod)
1343 buf_printf(b, "#ifdef CONFIG_MODULE_UNLOAD\n" 1343 buf_printf(b, "#ifdef CONFIG_MODULE_UNLOAD\n"
1344 " .exit = cleanup_module,\n" 1344 " .exit = cleanup_module,\n"
1345 "#endif\n"); 1345 "#endif\n");
1346 buf_printf(b, " .arch = MODULE_ARCH_INIT,\n");
1346 buf_printf(b, "};\n"); 1347 buf_printf(b, "};\n");
1347} 1348}
1348 1349